mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
style(next): improve fit of calendar on mobile
This commit is contained in:
parent
1bc70e9fed
commit
c98df4d6c2
@ -1159,10 +1159,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 */
|
||||
}
|
||||
|
||||
@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 {
|
||||
content: unset !important;
|
||||
|
Loading…
x
Reference in New Issue
Block a user