now the | in datefield is also hidden via css

This commit is contained in:
alpcentaur 2023-02-27 17:09:29 +00:00
parent 914989d6ac
commit 29cdd7b653
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;
}