Skip to content

Commit

Permalink
Fix for #1336
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheus65535 committed Mar 27, 2021
1 parent f08295c commit 14fe4b0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions frontend/src/@scss/bazarr.scss
Expand Up @@ -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;
}
}
4 changes: 2 additions & 2 deletions frontend/src/components/modals/ManualSearchModal.tsx
Expand Up @@ -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>
Expand Down

0 comments on commit 14fe4b0

Please sign in to comment.