Skip to content

Commit

Permalink
[#1584] Fix custom tabs & filter buttons styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ifirmawan committed Sep 12, 2023
1 parent 1a223d4 commit ebb0fbf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
21 changes: 5 additions & 16 deletions frontend/src/modules/knowledge-lib/style.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
width: 21px;
height: 21px;
margin-bottom: 11px;
path {
stroke: $primaryWhite;
}
}
span {
font-weight: 400;
Expand All @@ -56,12 +59,8 @@
stroke: $primaryDarkBlue;
}
}
&:hover {
svg {
path {
stroke: #fff;
}
}
span {
color: $primaryDarkBlue;
}
}
&.ant-dropdown-open {
Expand All @@ -75,16 +74,6 @@
}
}
}
&.location-filter {
svg path {
stroke: $primaryWhite;
}
&.selected {
span {
color: $primaryDarkBlue;
}
}
}
&.adv-src {
&:hover {
svg {
Expand Down
9 changes: 9 additions & 0 deletions frontend/src/styles/tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,15 @@
border-bottom: 4px solid $primaryPurple3;
&.ant-tabs-tab-active {
border-bottom: 4px solid $primaryPurple7;
.ant-tabs-tab-btn {
color: $primaryDarkBlue;
}
}
.ant-tabs-tab-btn {
font-size: $fzXXS;
line-height: $fzXXS;
font-weight: 500;
color: $primaryDarkBlue;
}
}
}
Expand All @@ -41,5 +45,10 @@
}
}
}
& > .ant-tabs-nav {
.ant-tabs-nav-list {
width: 100%;
}
}
}
}

0 comments on commit ebb0fbf

Please sign in to comment.