mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 07:45:51 +01:00
style(next): improve fit of calendar on mobile
This commit is contained in:
@@ -1158,10 +1158,26 @@ body.mobile .dropdown-menu .dropdown-item.submenu-open .dropdown-toggle::after {
|
||||
}
|
||||
|
||||
.calendar-dropdown-widget .calendar-header .calendar-month-selector .select-button {
|
||||
--select-arrow-svg: ""; /* Disable the dropdown arrow */
|
||||
--select-arrow-svg: ""; /* Disable the dropdown arrow */
|
||||
}
|
||||
|
||||
min-width: 120px;
|
||||
padding: 0 10px;
|
||||
@media (max-width: 992px) {
|
||||
.calendar-dropdown-widget .calendar-header button {
|
||||
margin: 0 !important;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.calendar-dropdown-widget .calendar-header .calendar-month-selector .select-button {
|
||||
padding: 0 8px;
|
||||
flex-grow: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.calendar-dropdown-widget .calendar-header .calendar-month-selector .select-button {
|
||||
min-width: 120px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.calendar-dropdown-widget .calendar-header .dropdown-toggle::after {
|
||||
|
||||
Reference in New Issue
Block a user