bootstrap 5 attachment dropdown sizing, fixes #1313
This commit is contained in:
parent
08aa10a4b7
commit
47df01b4c6
2 changed files with 5 additions and 1 deletions
|
@ -56,6 +56,10 @@
|
||||||
transition: background-color 0.75s ease-out;
|
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 {
|
li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 {
|
||||||
list-style-type: decimal !important;
|
list-style-type: decimal !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -258,7 +258,7 @@ if ($FILEUPLOAD) :
|
||||||
?>
|
?>
|
||||||
<li id="attach" class="nav-item hidden dropdown me-2">
|
<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>
|
<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">
|
<li id="filewrap">
|
||||||
<div>
|
<div>
|
||||||
<input type="file" id="file" name="file" class="form-control" />
|
<input type="file" id="file" name="file" class="form-control" />
|
||||||
|
|
Loading…
Reference in a new issue