1
0
Fork 0

now the | in datefield is also hidden via css

This commit is contained in:
Benni Bärmann 2022-12-09 17:20:03 +00:00
parent 0b044692d6
commit 3d591a39f7
2 changed files with 10 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class TravelForm(FdbForm):
class Media:
css = {
'all': ('admin/css/dateFieldNoNowShortcutInTravels.css',)
'all': ('css/dateFieldNoNowShortcutInTravels.css',)
}

View File

@ -1,5 +1,14 @@
/*
span.datetimeshortcuts > a:first-child {
visibility: hidden;
}
*/
span.datetimeshortcuts {
visibility: hidden;
}
span.datetimeshortcuts > a:nth-child(2) {
visibility: visible;
}