diff --git a/src/components/editor/MeEditorEmoticon.vue b/src/components/editor/MeEditorEmoticon.vue index 706bc40..f1d1074 100644 --- a/src/components/editor/MeEditorEmoticon.vue +++ b/src/components/editor/MeEditorEmoticon.vue @@ -185,11 +185,10 @@ const onSendEmoticon = (type: any, value: any, img = '') => { display: flex; flex-wrap: wrap; - .option { - height: 32px; - width: 32px; + .option img{ + height: 12px; + width: 12px; margin: 2px; - font-size: 24px; user-select: none; transition: all 0.5s; diff --git a/vite.config.ts b/vite.config.ts index 5182bbe..be05c49 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -25,10 +25,11 @@ export default defineConfig(({ mode }) => { plugins: [ vue(), vueJsx({}), - // vueDevTools({ - // launchEditor:'cursor' - // }), - UnoCSS() + compressPlugin(), + UnoCSS(), + vueDevTools({ + launchEditor: 'cursor', + }) ], define: { __APP_ENV__: env.APP_ENV