Browse Source

Merge pull request #2198 from TaraRostami/main

Minor UI fixes
Ho3ein 11 months ago
parent
commit
fa7a6a3f99
2 changed files with 6 additions and 3 deletions
  1. 5 2
      web/assets/css/custom.css
  2. 1 1
      web/html/xui/settings.html

+ 5 - 2
web/assets/css/custom.css

@@ -252,7 +252,7 @@ style attribute {
     .ant-layout-sider {
         display: none;
     }
-    .ant-card {
+    .ant-card, .ant-alert-error {
         margin: 0.5rem;
     }
     .ant-tabs {
@@ -384,6 +384,9 @@ style attribute {
     .ant-tabs {
         padding: 2rem;
     }
+    .ant-alert-error {
+        margin-inline: 0.3rem;
+    }
 }
 
 .fade-in-enter,
@@ -1344,7 +1347,7 @@ b, strong {
     height: 20px;
 }
 
-.ant-menu-theme-switch:hover {
+.ant-menu-theme-switch, .ant-menu-theme-switch:hover {
     background-color: transparent !important;
     cursor: default !important;
 }

+ 1 - 1
web/html/xui/settings.html

@@ -75,7 +75,7 @@
       <a-layout-content>
         <a-spin :spinning="spinning" :delay="500" tip='{{ i18n "loading"}}'>
           <transition name="list" appear>
-            <a-alert type="error" v-if="confAlerts.length>0" style="margin: 10px 5px;"
+            <a-alert type="error" v-if="confAlerts.length>0" style="margin-bottom: 10px;"
                 message='{{ i18n "secAlertTitle" }}'
                 color="red"
                 show-icon closable>