mirror of
https://github.com/kevinpapst/kimai2.git
synced 2025-04-07 14:35:47 +00:00
fix multi line bade rows
This commit is contained in:
parent
9e62ea0321
commit
7199981889
3 changed files with 9 additions and 4 deletions
|
@ -26,6 +26,11 @@ td {
|
|||
margin: 0;
|
||||
}
|
||||
}
|
||||
/* table cells that contain badges (like the team or timesheet view)
|
||||
and are multi-line entries the badges do not have margin between them */
|
||||
&.badges {
|
||||
line-height: 22px;
|
||||
}
|
||||
}
|
||||
|
||||
.label-gray {
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
{% else %}
|
||||
|
||||
{% set columns = {
|
||||
'name': {'class': ''},
|
||||
'teamlead': {'class': '', 'orderBy': false},
|
||||
'user': {'class': 'd-xs-none', 'orderBy': false},
|
||||
'name': {'class': 'w-25'},
|
||||
'teamlead': {'class': 'badges', 'orderBy': false},
|
||||
'user': {'class': 'd-none d-sm-table-cell badges', 'orderBy': false},
|
||||
'actions': {'class': 'actions alwaysVisible'},
|
||||
} %}
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
'project': {'class': 'd-none d-lg-table-cell'},
|
||||
'activity': {'class': 'd-none d-md-table-cell'},
|
||||
'description': {'class': 'd-none'},
|
||||
'tags': {'class': 'd-none', 'orderBy': false},
|
||||
'tags': {'class': 'd-none badges', 'orderBy': false},
|
||||
}) %}
|
||||
{% for field in metaColumns %}
|
||||
{% set columns = columns|merge({
|
||||
|
|
Loading…
Add table
Reference in a new issue