-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added new timesheet rules for improved UX on small screens (#5)
- Loading branch information
1 parent
36585d3
commit 5fb463d
Showing
3 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Changelog | ||
|
||
## 0.4 | ||
|
||
- Added new rules: | ||
- `timesheet` / `responsive-timesheet` | ||
- `timesheet` / `wrap-label-timesheet` | ||
- Styling update in admin screen | ||
|
||
Compatible with Kimai 0.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/* this allows horizontal scrolling on the timesheet tables on small screens or for | ||
entries with long names for customer/project/activity or descriptions */ | ||
#datatable_timesheet_admin .dataTables_wrapper, | ||
#datatable_timesheet .dataTables_wrapper { | ||
overflow-x: auto; | ||
min-height: .01%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* this rule allows that the labels for customer/project/activity in the timesheet tables wrap (line-break) | ||
and do not take up too much horizontal space on small screens (or on very long titles) */ | ||
#datatable_timesheet_admin table.dataTable td .label, | ||
#datatable_timesheet table.dataTable td .label { | ||
white-space: pre-wrap; | ||
line-height: 2; | ||
padding: .3em .3em; | ||
} |