MDL-78103 theme: Fixed dropdown menu size by the content

This commit is contained in:
chen levy 2023-10-05 17:32:17 +03:00 committed by Huong Nguyen
parent 769c67045f
commit 370b349aa3
3 changed files with 12 additions and 0 deletions

View File

@ -36,6 +36,10 @@
}
}
.dropdown-menu {
width: fit-content;
}
// Add dropdown menu items styles for each theme color (mantainning default hover colour for contrast).
@each $color, $value in $theme-colors {
.dropdown-item.text-#{$color} {

View File

@ -38732,6 +38732,10 @@ div.editor_atto_toolbar button .icon {
font-size: 0.7rem;
}
.dropdown-menu {
width: fit-content;
}
.dropdown-item.text-primary {
color: #0f6cbf;
}

View File

@ -38666,6 +38666,10 @@ div.editor_atto_toolbar button .icon {
font-size: 0.7rem;
}
.dropdown-menu {
width: fit-content;
}
.dropdown-item.text-primary {
color: #0f6cbf;
}