fix(sidebar): align icon buttons and navigation dividers
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -113,11 +113,15 @@
|
||||
|
||||
.nav-list {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
gap: 0;
|
||||
margin-top: 42px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.nav-list mat-divider {
|
||||
margin-block: 8px;
|
||||
}
|
||||
|
||||
.sidebar--collapsed .nav-list {
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
@@ -126,12 +130,15 @@
|
||||
}
|
||||
|
||||
.nav-list a {
|
||||
height: 46px;
|
||||
border-radius: var(--sg-radius-sm);
|
||||
color: var(--sg-text);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.nav-list a:not(.nav-icon-button) {
|
||||
height: 46px;
|
||||
}
|
||||
|
||||
.nav-list a.active {
|
||||
background: var(--sg-primary-soft);
|
||||
color: var(--sg-primary);
|
||||
@@ -152,8 +159,12 @@
|
||||
}
|
||||
|
||||
.nav-icon-button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
padding: 0;
|
||||
border-radius: var(--sg-radius-sm);
|
||||
color: var(--sg-text-soft);
|
||||
}
|
||||
@@ -268,8 +279,12 @@
|
||||
}
|
||||
|
||||
.utility-icon-button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
padding: 0;
|
||||
border-radius: var(--sg-radius-sm);
|
||||
color: var(--sg-text-soft);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user