Skip to content

Commit ebfc81a

Browse files
authored
fix: Added Consistent Margin Around Left Sidebar Items in ChaosCenter (#5311)
* fix: Added Consistent Margin Around Left Sidebar Items in ChaosCenter Signed-off-by: Avirup Banik <[email protected]> * fix: added border uniform radius on sidebar items Signed-off-by: Avirup Banik <[email protected]> --------- Signed-off-by: Avirup Banik <[email protected]>
1 parent fe72ee4 commit ebfc81a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

chaoscenter/web/src/components/SideNav/SideNav.module.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,22 +83,20 @@
8383
.link {
8484
display: block;
8585
margin-left: var(--spacing-medium);
86+
margin-right: var(--spacing-medium);
8687
padding: var(--spacing-small) var(--spacing-medium);
88+
border-radius: 2px;
8789
opacity: 0.8;
8890
z-index: 1;
8991

9092
&:hover {
9193
text-decoration: none;
9294
opacity: 1;
93-
border-top-left-radius: 2px;
94-
border-bottom-left-radius: 2px;
9595
background-color: var(--primary-7);
9696
}
9797

9898
&.selected {
9999
background-color: var(--primary-7);
100-
border-top-left-radius: 2px;
101-
border-bottom-left-radius: 2px;
102100
opacity: 1;
103101
}
104102

0 commit comments

Comments
 (0)