Skip to content

Commit

Permalink
*: Fix broken styles caused by antd update (#1162)
Browse files Browse the repository at this point in the history
  • Loading branch information
shhdgit authored Feb 7, 2022
1 parent 6ada67b commit cb27d64
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ui/dashboardApp/layout/main/Sider/index.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
background: rgba(darken(@sider-background, 30%), 0.15);
}

> a {
a {
color: #666;

&:hover {
Expand All @@ -56,7 +56,7 @@
&.ant-menu-item-selected {
background: rgba(darken(@sider-background, 30%), 0.15);

> a {
a {
color: #000;
}
}
Expand Down
18 changes: 16 additions & 2 deletions ui/lib/apps/DebugAPI/apilist/ApiList.module.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
.collapse_panel:not(:last-child) {
border-bottom: 1px solid #eee;
.collapse_panel {
&:not(:last-child) {
border-bottom: 1px solid #eee;
}

:global {
.ant-collapse-header {
padding-left: 40px !important;
}

.ant-collapse-arrow {
position: absolute;
top: 17px;
left: 16px;
}
}
}

.header {
Expand Down

0 comments on commit cb27d64

Please sign in to comment.