Skip to content

Commit

Permalink
Add units to 0 values to enable correct max calculations
Browse files Browse the repository at this point in the history
Without units, the CSS max function calculates a value of
0, which results in no right margin on dropdowns. This causes
the width on col-auto to overlap the value and the dropdown
caret.

This may be fixed in future tom-select, see PR:

orchidjs/tom-select#819
  • Loading branch information
cbrandtbuffalo authored and sunnavy committed Dec 17, 2024
1 parent 75497eb commit ca30016
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions share/static/css/elevator/tom-select.bootstrap5.css
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,8 @@
}

:root {
--ts-pr-clear-button: 0;
--ts-pr-caret: 0;
--ts-pr-clear-button: 0em;
--ts-pr-caret: 0em;
--ts-pr-min: .75rem;
}

Expand Down

0 comments on commit ca30016

Please sign in to comment.