UX: flexible autocomplete width (#25900)
When tagging a user in composer, the autocomplete div has a fixed width, causing longer names and usernames to get cut off. This change allows the div to expand up until a max-width of 600px on desktop.
This commit is contained in:
parent
18ca3d373d
commit
8bfa2bcf3a
|
@ -433,8 +433,8 @@ html.composer-open {
|
|||
.autocomplete {
|
||||
z-index: z("composer", "dropdown") + 1;
|
||||
position: absolute;
|
||||
max-width: 300px;
|
||||
width: 300px;
|
||||
max-width: 370px;
|
||||
min-width: 300px;
|
||||
background-color: var(--secondary);
|
||||
border: 1px solid var(--primary-low);
|
||||
box-shadow: var(--shadow-dropdown);
|
||||
|
|
|
@ -11,6 +11,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
.autocomplete {
|
||||
max-width: 600px;
|
||||
}
|
||||
|
||||
.select-kit.is-expanded {
|
||||
z-index: z("composer", "dropdown") + 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue