Skip to content

Commit

Permalink
MDL-76947 css: Fixed layout regression on dropdown menus
Browse files Browse the repository at this point in the history
  • Loading branch information
davewoloszyn committed Feb 6, 2023
1 parent 880462a commit 92facc9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
5 changes: 2 additions & 3 deletions theme/boost/scss/moodle/core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3032,12 +3032,11 @@ blockquote {
border-left: 5px solid $gray-400;
}

/** Prevent long strings exceeding page width */
/* Prevent long strings exceeding page width */
.page-header-headings,
.coursename,
.categoryname,
.breadcrumb-item,
.dropdown-item {
.breadcrumb-item {

&:not(.text-truncate) {
word-break: normal;
Expand Down
5 changes: 2 additions & 3 deletions theme/boost/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -12328,12 +12328,11 @@ blockquote {
color: #495057;
border-left: 5px solid #ced4da; }

/** Prevent long strings exceeding page width */
/* Prevent long strings exceeding page width */
.page-header-headings:not(.text-truncate),
.coursename:not(.text-truncate),
.categoryname:not(.text-truncate),
.breadcrumb-item:not(.text-truncate),
.dropdown-item:not(.text-truncate) {
.breadcrumb-item:not(.text-truncate) {
word-break: normal;
overflow-wrap: anywhere;
white-space: normal; }
Expand Down
5 changes: 2 additions & 3 deletions theme/classic/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -12328,12 +12328,11 @@ blockquote {
color: #495057;
border-left: 5px solid #ced4da; }

/** Prevent long strings exceeding page width */
/* Prevent long strings exceeding page width */
.page-header-headings:not(.text-truncate),
.coursename:not(.text-truncate),
.categoryname:not(.text-truncate),
.breadcrumb-item:not(.text-truncate),
.dropdown-item:not(.text-truncate) {
.breadcrumb-item:not(.text-truncate) {
word-break: normal;
overflow-wrap: anywhere;
white-space: normal; }
Expand Down

0 comments on commit 92facc9

Please sign in to comment.