style: fix dark mode bug

This commit is contained in:
kailong321200875 2022-05-14 10:00:56 +08:00
parent 5c9874a66c
commit 2f9fd5d215
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ export default defineComponent({
class={[ class={[
prefixCls, prefixCls,
'h-[var(--top-tool-height)] relative px-[var(--top-tool-p-x)] flex items-center justify-between', 'h-[var(--top-tool-height)] relative px-[var(--top-tool-p-x)] flex items-center justify-between',
'dark:(bg-[var(--el-bg-color)] border-[--el-border-color])' 'dark:bg-[var(--el-bg-color)]'
]} ]}
> >
{layout.value !== 'top' ? ( {layout.value !== 'top' ? (