Merge pull request #1323 from PrivateBin/bootstrap5-fileupload

bootstrap 5 attachment dropdown sizing
This commit is contained in:
El RIDO 2024-05-13 06:47:46 +02:00 committed by GitHub
commit 55d30ce9bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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" />