Right Leaf and Bigger Label

This commit is contained in:
Ozan Tellioglu 2023-03-10 11:48:42 +01:00
parent 55d82cfb20
commit d6402ac5d3
2 changed files with 2 additions and 2 deletions

View file

@ -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 {

View file

@ -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 {