From ca3001611207947f61a969caade450efc0209495 Mon Sep 17 00:00:00 2001 From: Jim Brandt Date: Mon, 16 Dec 2024 15:33:14 -0500 Subject: [PATCH] Add units to 0 values to enable correct max calculations 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: https://github.com/orchidjs/tom-select/pull/819 --- share/static/css/elevator/tom-select.bootstrap5.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/static/css/elevator/tom-select.bootstrap5.css b/share/static/css/elevator/tom-select.bootstrap5.css index 5887240e30..6d0380d710 100644 --- a/share/static/css/elevator/tom-select.bootstrap5.css +++ b/share/static/css/elevator/tom-select.bootstrap5.css @@ -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; }