Skip to content

Commit

Permalink
fix(ui) #26435: Dojo Dropdown Options broken on search (#26436)
Browse files Browse the repository at this point in the history
* dev (dojo menu styles): encapsulate template selector styles

* dev (dojo menu styles): add font weight bold to highlight match
  • Loading branch information
zJaaal authored and manuelrojas committed Oct 16, 2023
1 parent bbbb9f8 commit 2bbcb9c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
15 changes: 11 additions & 4 deletions core-web/libs/dotcms-scss/jsp/scss/dijit/_menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,20 @@
margin-top: $spacing-1;

.dijitMenuItem {
display: flex;
align-items: start;
flex-direction: column;
justify-content: center;
padding: 0 $spacing-2;
color: $black;
height: $field-height-md;

.dijitComboBoxHighlightMatch {
font-weight: $font-weight-bold;
}

&:has(small) {
display: flex;
align-items: start;
flex-direction: column;
justify-content: center;
}
}

.dijitComboBoxMenu {
Expand Down
11 changes: 8 additions & 3 deletions dotCMS/src/main/webapp/html/css/dijit-dotcms/dotcms.css
Original file line number Diff line number Diff line change
Expand Up @@ -5043,13 +5043,18 @@
margin-top: 0.5rem;
}
.dijitComboBoxMenuPopup .dijitMenuItem {
padding: 0 0.75rem;
color: #14151a;
height: 2.5rem;
}
.dijitComboBoxMenuPopup .dijitMenuItem .dijitComboBoxHighlightMatch {
font-weight: 700;
}
.dijitComboBoxMenuPopup .dijitMenuItem:has(small) {
display: flex;
align-items: start;
flex-direction: column;
justify-content: center;
padding: 0 0.75rem;
color: #14151a;
height: 2.5rem;
}
.dijitComboBoxMenuPopup .dijitComboBoxMenu {
min-width: 200px;
Expand Down

0 comments on commit 2bbcb9c

Please sign in to comment.