Skip to content

Commit

Permalink
style: dropdown of color-picker
Browse files Browse the repository at this point in the history
  • Loading branch information
YangFong committed Jul 15, 2024
1 parent b54c3f1 commit 5f54bf9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/CodemirrorEditor/EditorHeader/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export default {
this.$refs.fileInput.click()
},
showPicker() {
this.$refs.colorPicker.showPicker = true
this.$refs.colorPicker.show()
},
prePost() {
let auto = {}
Expand Down Expand Up @@ -364,7 +364,7 @@ export default {
<el-dropdown-item
v-for="{ label, kbd, emitArgs } in formatItems"
:key="kbd"
class="leading-8 format-item"
class="format-item leading-8"
@click="$emit(...emitArgs)"
>
<el-icon class="opacity-0">
Expand Down Expand Up @@ -466,7 +466,7 @@ export default {
@change="colorChanged"
/>
</template>
<div class="flex">
<div class="flex w-full">
<el-icon class="opacity-0">
<ElIconCheck />
</el-icon>
Expand Down

0 comments on commit 5f54bf9

Please sign in to comment.