From 693042d2b3fe0522bde7774c50132c1f33246878 Mon Sep 17 00:00:00 2001 From: xingyuv Date: Mon, 27 Mar 2023 14:25:31 +0800 Subject: [PATCH] fix: login style --- src/components/Tinymce/src/tinymce.ts | 1 + src/design/ant/index.less | 6 +++--- unocss.config.ts | 17 ++++++++++------- 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/components/Tinymce/src/tinymce.ts b/src/components/Tinymce/src/tinymce.ts index 0f3dec02..19b68ba0 100644 --- a/src/components/Tinymce/src/tinymce.ts +++ b/src/components/Tinymce/src/tinymce.ts @@ -1,3 +1,4 @@ +/* eslint-disable max-len */ // Any plugins you want to setting has to be imported // Detail plugins list see https://www.tinymce.com/docs/plugins/ // Custom builds see https://www.tinymce.com/download/custom-builds/ diff --git a/src/design/ant/index.less b/src/design/ant/index.less index 1cc81653..1612e326 100644 --- a/src/design/ant/index.less +++ b/src/design/ant/index.less @@ -8,9 +8,9 @@ } } -span.anticon:not(.app-iconify) { - vertical-align: 0.125em !important; -} +// span.anticon:not(.app-iconify) { +// vertical-align: 0.125em !important; +// } .ant-back-top { right: 20px; diff --git a/unocss.config.ts b/unocss.config.ts index 2b1204e1..e3deda8e 100644 --- a/unocss.config.ts +++ b/unocss.config.ts @@ -1,8 +1,11 @@ import { defineConfig, presetAttributify, presetMini, presetUno } from 'unocss' +// import presetWind from '@unocss/preset-wind' import { primaryColor } from './build/config/themeConfig' export default defineConfig({ presets: [presetMini({ dark: 'class' }), presetAttributify(), presetUno()], + // presets: [presetMini(), presetAttributify(), presetUno({ dark: 'class' }), presetWind()], + // transformers: [createEnterPlugin()], theme: { extend: { zIndex: { @@ -10,14 +13,14 @@ export default defineConfig({ }, colors: { primary: primaryColor - }, - screens: { - sm: '576px', - md: '768px', - lg: '992px', - xl: '1200px', - '2xl': '1600px' } + }, + breakpoints: { + sm: '576px', + md: '768px', + lg: '992px', + xl: '1200px', + '2xl': '1600px' } } })