mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Set fixed width for email group chooser dropdown to prevent resizing based on content (#30740)
This PR addresses an issue where the dropdown container width was inconsistent, resizing based on its content. **Changes included:** - Added a fixed width for the dropdown container. - Adjusted margin spacing by applying it to the `.identifier` class instead of `.name`. This prevents awkward spacing when either contains a large number of characters. Internal topic: /t/143862
This commit is contained in:
@@ -3,16 +3,20 @@
|
||||
width: unset;
|
||||
}
|
||||
|
||||
&.is-expanded .select-kit-body {
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
.select-kit-row.email-group-user-chooser-row {
|
||||
.identifier {
|
||||
color: var(--primary);
|
||||
white-space: nowrap;
|
||||
line-height: var(--line-height-medium);
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
.name {
|
||||
color: var(--primary-high);
|
||||
font-size: var(--font-down-1);
|
||||
margin-left: 0.5em;
|
||||
@include ellipsis;
|
||||
}
|
||||
.avatar,
|
||||
|
Reference in New Issue
Block a user