浏览代码

fix: upgrader background issue in dark mode #99

0xJacky 2 年之前
父节点
当前提交
4ea336653a
共有 2 个文件被更改,包括 7 次插入1 次删除
  1. 1 1
      frontend/src/components/FooterToolbar/FooterToolBar.vue
  2. 6 0
      frontend/src/views/system/Upgrade.vue

+ 1 - 1
frontend/src/components/FooterToolbar/FooterToolBar.vue

@@ -28,7 +28,7 @@ export default {
 <style lang="less" scoped>
 .dark {
     .ant-pro-footer-toolbar {
-        background: rgba(24, 24, 24, 0.62);
+        background: rgba(24, 24, 24, 1);
         border-top: unset;
     }
 }

+ 6 - 0
frontend/src/views/system/Upgrade.vue

@@ -177,6 +177,12 @@ async function perform_upgrade() {
 </template>
 
 <style lang="less">
+.dark {
+    .core-upgrade-log-container {
+        background-color: rgba(0, 0, 0, 0.84);
+    }
+}
+
 .core-upgrade-log-container {
     height: 320px;
     overflow: scroll;