From d6402ac5d31db4f231420aa9ae3038279e5ce18a Mon Sep 17 00:00:00 2001 From: Ozan Tellioglu Date: Fri, 10 Mar 2023 11:48:42 +0100 Subject: [PATCH] Right Leaf and Bigger Label --- src/main.ts | 2 +- styles.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index 6e592f6..0905a4e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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 { diff --git a/styles.css b/styles.css index c05d3fb..cfabdd0 100644 --- a/styles.css +++ b/styles.css @@ -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 {