mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 19:05:55 +02:00
[frontend-next] Optimized dark mode
This commit is contained in:
parent
8a681131a9
commit
4512fc0309
3 changed files with 4 additions and 7 deletions
|
@ -118,7 +118,7 @@ const callback = () => {
|
|||
}
|
||||
}
|
||||
}
|
||||
instance!.updateOptions(chartOptions)
|
||||
instance?.updateOptions?.(chartOptions)
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
@import "ant-design-vue/lib/style/themes/dark.less";
|
||||
@import "ant-design-vue/dist/antd.dark";
|
||||
|
|
|
@ -134,7 +134,8 @@ body {
|
|||
}
|
||||
|
||||
.ant-layout-header {
|
||||
background-color: #fff;
|
||||
padding: 0 !important;
|
||||
background-color: #fff !important;
|
||||
@media @dark {
|
||||
background-color: #1f1f1f !important;
|
||||
}
|
||||
|
@ -184,10 +185,6 @@ body {
|
|||
}
|
||||
}
|
||||
|
||||
.ant-layout-header {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.ant-table-small {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue