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 committed Dec 16, 2024
1 parent 432bdfa commit d3a7b81
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 d3a7b81

Please sign in to comment.