From 47df01b4c65bc989d748b78e8e673ee737aded1a Mon Sep 17 00:00:00 2001 From: El RIDO Date: Thu, 9 May 2024 17:00:30 +0200 Subject: [PATCH] bootstrap 5 attachment dropdown sizing, fixes #1313 --- css/bootstrap5/privatebin.css | 4 ++++ tpl/bootstrap5.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/css/bootstrap5/privatebin.css b/css/bootstrap5/privatebin.css index 871d6b99..71719dfc 100644 --- a/css/bootstrap5/privatebin.css +++ b/css/bootstrap5/privatebin.css @@ -56,6 +56,10 @@ transition: background-color 0.75s ease-out; } +.dropdown-menu { + --bs-dropdown-min-width: 23rem; +} + li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 { list-style-type: decimal !important; } diff --git a/tpl/bootstrap5.php b/tpl/bootstrap5.php index dee10744..e1236464 100644 --- a/tpl/bootstrap5.php +++ b/tpl/bootstrap5.php @@ -258,7 +258,7 @@ if ($FILEUPLOAD) : ?>