Skip to content

Commit

Permalink
Merge pull request #1323 from PrivateBin/bootstrap5-fileupload
Browse files Browse the repository at this point in the history
bootstrap 5 attachment dropdown sizing
  • Loading branch information
elrido committed May 13, 2024
2 parents 6ae1f7b + 47df01b commit 55d30ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions css/bootstrap5/privatebin.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion tpl/bootstrap5.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
?>
<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" />
Expand Down

0 comments on commit 55d30ce

Please sign in to comment.