-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enforce a higher min-width for user autocompleters to avoid names bei…
…ng cut off rather early (see #55870)
- Loading branch information
1 parent
33666dd
commit ffa3949
Showing
3 changed files
with
28 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
.../app/shared/components/autocompleter/user-autocompleter/user-autocompleter.component.sass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// This is rather ugly. Due to `appendTo=body`, we loose the context information for the dropdown. | ||
// So in order to know, when the dropdown is part of a user-autocompleter, we look whether there is a specific class inside. | ||
// The user-autocompleter gets an enforced min-width because the names are often times cut off way too early. | ||
ng-dropdown-panel:has( .op-user-autocompleter--name) | ||
min-width: 300px !important |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters