Skip to content

Commit

Permalink
style: update icon
Browse files Browse the repository at this point in the history
  • Loading branch information
yanglbme committed Jan 9, 2025
1 parent a2b1918 commit 55570b5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/CodemirrorEditor/EditorHeader/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from '@/config'
import { useStore } from '@/stores'
import { addPrefix, processClipboardContent } from '@/utils'
import { ChevronDownIcon, PanelLeftClose, PanelLeftOpen, PanelRightClose, PanelRightOpen } from 'lucide-vue-next'
import { ChevronDownIcon, PanelLeftClose, PanelLeftOpen, Settings } from 'lucide-vue-next'
const emit = defineEmits([`addFormat`, `formatContent`, `startCopy`, `endCopy`])
Expand Down Expand Up @@ -186,8 +186,7 @@ function copy() {
<PostInfo />

<Button variant="outline" @click="store.isOpenRightSlider = !store.isOpenRightSlider">
<PanelRightOpen v-show="!store.isOpenRightSlider" class="size-4" />
<PanelRightClose v-show="store.isOpenRightSlider" class="size-4" />
<Settings class="size-4" />
</Button>

<Toaster rich-colors position="top-center" />
Expand Down

0 comments on commit 55570b5

Please sign in to comment.