Issue #3399804 by Laurie Lim, shweta__sharma, joachim, kostyashupenko, lauriii: Dropbutton items get truncated if they are longer than the button main item's text

merge-requests/5372/merge
Cristina Chumillas 2023-12-15 13:29:07 +01:00
parent 722c7c63e0
commit e3a964b0a2
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View File

@ -376,6 +376,7 @@
.dropbutton__item:first-of-type ~ .dropbutton__item > .button { .dropbutton__item:first-of-type ~ .dropbutton__item > .button {
position: relative; position: relative;
padding: calc(var(--dropbutton-spacing-size) - var(--dropbutton-border-size)); padding: calc(var(--dropbutton-spacing-size) - var(--dropbutton-border-size));
white-space: normal;
-webkit-text-decoration: none; -webkit-text-decoration: none;
text-decoration: none; text-decoration: none;
color: var(--color-gray-800); color: var(--color-gray-800);

View File

@ -341,6 +341,7 @@
.dropbutton__item:first-of-type ~ .dropbutton__item > .button { .dropbutton__item:first-of-type ~ .dropbutton__item > .button {
position: relative; position: relative;
padding: calc(var(--dropbutton-spacing-size) - var(--dropbutton-border-size)); padding: calc(var(--dropbutton-spacing-size) - var(--dropbutton-border-size));
white-space: normal;
text-decoration: none; text-decoration: none;
color: var(--color-gray-800); color: var(--color-gray-800);
border: var(--dropbutton-border-size) solid transparent !important; /* 1 */ border: var(--dropbutton-border-size) solid transparent !important; /* 1 */