Skip to content

Commit

Permalink
Fix overflowing text in sidebar menu
Browse files Browse the repository at this point in the history
Addresses 2 distinct issues:
- collapsed menu
- expanded menu with resolutions < 992px

Fixes #33651, PR #1969
  • Loading branch information
dregad committed Feb 18, 2024
2 parents fe630fa + 1f1c88d commit e50fb20
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions css/ace-mantis.css
Expand Up @@ -602,6 +602,16 @@ ul.changelog > li, ul.roadmap > li {
border-right-width: 0px;
}

.sidebar:not(.menu-min) {
min-width: 190px;
width: auto;
}

.sidebar.menu-min .nav-list > li > a > .menu-text {
width: max-content;
padding-right: 12px;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
.page-content {
Expand Down Expand Up @@ -643,6 +653,10 @@ ul.changelog > li, ul.roadmap > li {
margin-left: 43px !important;
}

.sidebar:not(.min-width) {
min-width: auto;
}

.sidebar.compact, .sidebar.compact.navbar-collapse {
width: 125px;
}
Expand Down

0 comments on commit e50fb20

Please sign in to comment.