mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-78103 theme: Fixed dropdown menu size by the content
This commit is contained in:
parent
769c67045f
commit
370b349aa3
@ -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} {
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user