bootstrap 5 attachment dropdown sizing, fixes #1313

This commit is contained in:
El RIDO 2024-05-09 17:00:30 +02:00
parent 08aa10a4b7
commit 47df01b4c6
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
2 changed files with 5 additions and 1 deletions

View file

@ -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;
}

View file

@ -258,7 +258,7 @@ if ($FILEUPLOAD) :
?>
<li id="attach" class="nav-item hidden dropdown me-2">
<a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false"><?php echo I18n::_('Attach a file'); ?></a>
<ul class="dropdown-menu">
<ul class="dropdown-menu px-2">
<li id="filewrap">
<div>
<input type="file" id="file" name="file" class="form-control" />