mirror of
https://github.com/zadam/trilium.git
synced 2025-12-06 07:24:25 +01:00
fix(launch_bar): calendar month selector dropdown wrongly positioned
This commit is contained in:
parent
a53322e7cb
commit
3bf6de9c76
@ -177,4 +177,9 @@
|
|||||||
|
|
||||||
.calendar-dropdown-widget .form-control {
|
.calendar-dropdown-widget .form-control {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.calendar-dropdown-widget .calendar-month-selector .dropdown-menu {
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
}
|
}
|
||||||
@ -136,7 +136,7 @@ function CalendarMonthSelector({ date, setDate }: CalendarHeaderProps) {
|
|||||||
keyProperty="index" titleProperty="text"
|
keyProperty="index" titleProperty="text"
|
||||||
onChange={(index) => setDate(date.set("month", parseInt(index, 10)))}
|
onChange={(index) => setDate(date.set("month", parseInt(index, 10)))}
|
||||||
buttonProps={{ "data-calendar-input": "month" }}
|
buttonProps={{ "data-calendar-input": "month" }}
|
||||||
dropdownOptions={{ popperConfig: { placement: "bottom" } }}
|
dropdownOptions={{ display: "static" }}
|
||||||
/>
|
/>
|
||||||
<AdjustDateButton date={date} setDate={setDate} direction="next" unit="month" />
|
<AdjustDateButton date={date} setDate={setDate} direction="next" unit="month" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user