Align datepicker style with rest of the app

This commit is contained in:
Matthias 2023-12-17 15:51:45 +01:00
parent 38db80edbc
commit d81112690b
2 changed files with 7 additions and 0 deletions

View File

@ -10,6 +10,7 @@
:max-date="now"
model-type="yyyy-MM-dd"
format="yyyy-MM-dd"
class="mt-1"
text-input
auto-apply
:enable-time-picker="false"
@ -20,6 +21,7 @@
<Datepicker
v-model="dateTo"
:dark="settingsStore.isDarkTheme"
class="mt-1"
:max-date="tomorrow"
model-type="yyyy-MM-dd"
format="yyyy-MM-dd"

View File

@ -1,5 +1,10 @@
// global main style
.dp__theme_dark {
// Datepicker font size
--dp-font-size: 0.9rem;
}
.d-flex > * {
// Fix stupid flexbox bug where the flex items are overflowing the parent div if min-width is not set.
// mainly appeared on firefox.