This commit is contained in:
morpheus65535 2021-03-27 15:14:49 -04:00
parent f08295c2e7
commit 14fe4b0594
2 changed files with 17 additions and 2 deletions

View File

@ -19,3 +19,18 @@ body {
.progress-bar {
cursor: default;
}
.dropdown-toggle-wrap {
position: relative;
&::after {
position: absolute;
right: 0.1rem;
bottom: 50%;
}
span {
display: block;
text-overflow: ellipsis;
overflow: hidden;
max-width: 30vw;
}
}

View File

@ -140,10 +140,10 @@ export const ManualSearchModal: FunctionComponent<Props & BaseModalProps> = (
<Dropdown>
<Dropdown.Toggle
disabled={value.length === 1}
className="dropdown-hidden text-dark"
className="dropdown-hidden text-dark dropdown-toggle-wrap"
variant={value.length === 1 ? "link" : "light"}
>
{display}
<span>{display}</span>
</Dropdown.Toggle>
<Dropdown.Menu>{items}</Dropdown.Menu>
</Dropdown>