mirror of
https://github.com/ozntel/oz-calendar.git
synced 2026-07-22 07:40:24 +00:00
Right Leaf and Bigger Label
This commit is contained in:
parent
55d82cfb20
commit
d6402ac5d3
2 changed files with 2 additions and 2 deletions
|
|
@ -108,7 +108,7 @@ export default class OZCalendarPlugin extends Plugin {
|
|||
const { showAfterAttach } = params;
|
||||
let leafs = this.app.workspace.getLeavesOfType(VIEW_TYPE);
|
||||
if (leafs.length === 0) {
|
||||
let leaf = this.app.workspace.getLeftLeaf(false);
|
||||
let leaf = this.app.workspace.getRightLeaf(false);
|
||||
await leaf.setViewState({ type: VIEW_TYPE });
|
||||
if (showAfterAttach) this.app.workspace.revealLeaf(leaf);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
|
||||
.oz-calendar-plugin-view button.react-calendar__navigation__label {
|
||||
color: var(--interactive-accent);
|
||||
font-size: 1.1em;
|
||||
font-size: 1.3em;
|
||||
}
|
||||
|
||||
.oz-calendar-plugin-view .react-calendar__tile.react-calendar__month-view__days__day {
|
||||
|
|
|
|||
Loading…
Reference in a new issue