diff --git a/src/assets/styles/global.scss b/src/assets/styles/global.scss index cb54c1a4..7989097f 100644 --- a/src/assets/styles/global.scss +++ b/src/assets/styles/global.scss @@ -59,4 +59,18 @@ a { } ::-webkit-scrollbar-thumb { background-color: #c1c1c1; -} \ No newline at end of file +} + +.ant-popover { + padding-top: 5px !important; +} +.ant-popover-arrow { + display: none; +} +.ant-popover-inner { + box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.15); + border: 1px solid #eee; +} +.ant-popover-inner-content { + padding: 12px !important; +} diff --git a/src/components/ColorPicker/index.vue b/src/components/ColorPicker/index.vue index 096d167b..76f0e1f5 100644 --- a/src/components/ColorPicker/index.vue +++ b/src/components/ColorPicker/index.vue @@ -160,6 +160,7 @@ export default defineComponent({ width: 240px; background: #fff; user-select: none; + margin-bottom: -10px; } .picker-saturation-wrap { width: 100%; diff --git a/src/views/Editor/Toolbar/SlideStylePanel.vue b/src/views/Editor/Toolbar/SlideStylePanel.vue index dccc76b6..e97903e8 100644 --- a/src/views/Editor/Toolbar/SlideStylePanel.vue +++ b/src/views/Editor/Toolbar/SlideStylePanel.vue @@ -1,17 +1,25 @@