Skip to content

Commit

Permalink
Fix minor alignment issues
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjhanson committed Feb 16, 2024
1 parent 72d596e commit a844f85
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/web/assets/cp/src/css/_global-sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
.nav-item {
--gutter-width: calc(10rem / 16);
display: grid;
grid-template-columns: var(--gutter-width) 1fr var(--prefix-width) var(
grid-template-columns: var(--gutter-width) minmax(0, 1fr) var(--prefix-width) var(
--gutter-width
);
grid-template-areas: '. action trigger .' 'subnav subnav subnav subnav';
Expand Down Expand Up @@ -153,7 +153,8 @@

.sidebar-action {
--thumb-size: 0.75rem;
display: flex;
display: grid;
grid-template-columns: var(--prefix-width) minmax(0, 1fr) auto;
width: 100%;
align-items: center;
position: relative;
Expand Down Expand Up @@ -258,17 +259,17 @@
}

.sidebar-action__label {
display: inline-flex;
display: flex;
gap: var(--s);
align-items: center;
padding: 0 var(--xs);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex-grow: 1;
overflow: hidden;
white-space: nowrap;
}

.sidebar-action__badge {
flex: 0 1 auto;
display: flex;
flex-direction: column;
justify-content: center;
Expand Down

0 comments on commit a844f85

Please sign in to comment.