Skip to content

Commit

Permalink
Fix alignment for long filter names (#3635)
Browse files Browse the repository at this point in the history
(cherry picked from commit 24a7abb)
  • Loading branch information
eliykat committed Sep 28, 2022
1 parent 329b9bb commit 006e430
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions apps/desktop/src/scss/left-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@
margin-left: auto;
margin-right: 5px;
}

.filter-button {
white-space: nowrap;
}
}

.nav {
Expand Down
4 changes: 3 additions & 1 deletion apps/web/src/scss/vault-filters.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@
}

.filter-button {
max-width: 90%;
white-space: nowrap;

&:hover,
&:focus,
&:active {
Expand All @@ -112,7 +115,6 @@
}
text-decoration: none;
}
max-width: 90%;

&.disabled-organization {
max-width: 78%;
Expand Down

0 comments on commit 006e430

Please sign in to comment.