File tree Expand file tree Collapse file tree
src/renderer/components/editor/preview Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22import { useSnippets } from ' @/composables'
33import { i18n , ipc } from ' @/electron'
44import { useDark } from ' @vueuse/core'
5- import { Download , Moon , RefreshCcw , Sun } from ' lucide-vue-next'
5+ import { FileDown , Moon , RefreshCcw , Sun } from ' lucide-vue-next'
66
77const { selectedSnippet } = useSnippets ()
88
@@ -125,13 +125,15 @@ watch(isDarkPreview, () => {
125125 />
126126 </UiActionButton >
127127 </div >
128- <div >
128+ <div class = " flex items-center " >
129129 <UiActionButton
130- type =" icon "
130+ type =" iconText "
131131 :tooltip =" `${i18n.t('button.saveAs')} HTML`"
132132 @click =" onSaveHtml"
133133 >
134- <Download class =" h-3 w-3" />
134+ <div class =" flex items-center gap-1" >
135+ HTML <FileDown class =" h-3 w-3" />
136+ </div >
135137 </UiActionButton >
136138 <UiActionButton
137139 type =" icon"
You can’t perform that action at this time.
0 commit comments