Skip to content

Commit

Permalink
Some CSS enhancements for the sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
hirth-abi committed Aug 5, 2024
1 parent 9034919 commit 3c4aaf8
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
21 changes: 19 additions & 2 deletions springwolf-ui/src/app/components/new/sidenav/sidenav.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,30 @@ a {
justify-content: space-between;
}

.sidenav .entry > span > a {
white-space: nowrap;
}

.sidenav {
width: auto;
box-sizing: border-box;
padding-right: 20px;
display: grid;
overflow-x: clip;
}

.sidenav > div {
box-sizing: border-box;
overflow: visible !important;
}

.sidenav .badge {
text-transform: uppercase;
font-size: smaller;

border-radius: 0.3em;
padding: 0 0.1em;
margin: 0 0 auto 0;
padding: 0 0.2em;
margin: 0.2em 0.3em 0.3em 0.2em;
}
.sidenav .badge.send-badge {
color: var(--springwolf-badge-color-send);
Expand Down
8 changes: 8 additions & 0 deletions springwolf-ui/src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,14 @@ a {
}
}

.mat-drawer-inner-container {
overflow: visible !important;
}

.mat-icon {
vertical-align: middle;
}

html {
--springwolf-badge-color-send: black;
--springwolf-badge-color-background-send: #ffd580;
Expand Down

0 comments on commit 3c4aaf8

Please sign in to comment.