Skip to content

Commit

Permalink
Merge pull request #2198 from TaraRostami/main
Browse files Browse the repository at this point in the history
Minor UI fixes
  • Loading branch information
MHSanaei authored Apr 2, 2024
2 parents b13e1d6 + 620da17 commit fa7a6a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions web/assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ style attribute {
.ant-layout-sider {
display: none;
}
.ant-card {
.ant-card, .ant-alert-error {
margin: 0.5rem;
}
.ant-tabs {
Expand Down Expand Up @@ -384,6 +384,9 @@ style attribute {
.ant-tabs {
padding: 2rem;
}
.ant-alert-error {
margin-inline: 0.3rem;
}
}

.fade-in-enter,
Expand Down Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion web/html/xui/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit fa7a6a3

Please sign in to comment.