mirror of
https://github.com/kevinpapst/kimai2.git
synced 2025-04-02 20:47:55 +00:00
reduce width of quick-entry dropdown
This commit is contained in:
parent
6d25213337
commit
615b105915
5 changed files with 9 additions and 4 deletions
assets/sass
public/build
templates/form
|
@ -1,4 +1,9 @@
|
|||
/* bootstrap thead.sticky-top has z-index 1020 and the reporting form dropdowns hide behind that */
|
||||
.checkbox-menu.show {
|
||||
z-index: 1021;
|
||||
}
|
||||
|
||||
/* make the dropdowns smaller in quick-entries form */
|
||||
#quick_entry_box .btn-duration-preset {
|
||||
padding: 7px 6px 7px 3px;
|
||||
}
|
File diff suppressed because one or more lines are too long
|
@ -6,7 +6,7 @@
|
|||
"build/app.2ff92e62.js"
|
||||
],
|
||||
"css": [
|
||||
"build/app.1b3f2487.css"
|
||||
"build/app.1d095efe.css"
|
||||
]
|
||||
},
|
||||
"invoice": {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"build/app.css": "build/app.1b3f2487.css",
|
||||
"build/app.css": "build/app.1d095efe.css",
|
||||
"build/app.js": "build/app.2ff92e62.js",
|
||||
"build/invoice.css": "build/invoice.e245ede5.css",
|
||||
"build/invoice.js": "build/invoice.19f36eca.js",
|
||||
|
|
|
@ -106,7 +106,7 @@
|
|||
{% if (form.vars.duration_presets is defined and form.vars.duration_presets is not empty) and (form.vars.disabled is same as (false)) %}
|
||||
<div class="input-group">
|
||||
{{ block('form_widget_simple') }}
|
||||
<button type="button" class="btn dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
|
||||
<button type="button" class="btn dropdown-toggle btn-duration-preset" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
|
||||
<div class="dropdown-menu dropdown-menu-right pre-scrollable">
|
||||
{% for value in form.vars.duration_presets %}
|
||||
<a class="dropdown-item" href="#" onclick="jQuery('#{{ form.vars.id }}').val('{{ value }}').trigger('change');return false;">{{ value }}</a>
|
||||
|
|
Loading…
Add table
Reference in a new issue