mirror of
https://github.com/Ellpeck/ObsidianCustomFrames.git
synced 2024-06-17 20:34:33 +02:00
Feat: Add Google Calendar preset
This commit is contained in:
parent
2980c2cb5f
commit
9cc37372dd
|
@ -10,6 +10,23 @@ export const presets: Record<string, CustomFrame> = {
|
||||||
hideOnMobile: true,
|
hideOnMobile: true,
|
||||||
minimumWidth: 367,
|
minimumWidth: 367,
|
||||||
customCss: ""
|
customCss: ""
|
||||||
|
},
|
||||||
|
"calendar": {
|
||||||
|
url: "https://calendar.google.com/calendar/u/0/r/day",
|
||||||
|
displayName: "Google Calendar",
|
||||||
|
icon: "calendar",
|
||||||
|
hideOnMobile: true,
|
||||||
|
minimumWidth: 490,
|
||||||
|
customCss: `/* hide right-side menu, and some buttons */
|
||||||
|
div.d6McF,
|
||||||
|
div.pw6cBb,
|
||||||
|
div.gb_Td.gb_Va.gb_Id,
|
||||||
|
div.Kk7lMc-QWPxkf-LgbsSe-haAclf,
|
||||||
|
div.h8Aqhb,
|
||||||
|
div.gboEAb,
|
||||||
|
div.dwlvNd {
|
||||||
|
display: none !important;
|
||||||
|
}`
|
||||||
},
|
},
|
||||||
"keep": {
|
"keep": {
|
||||||
url: "https://keep.google.com",
|
url: "https://keep.google.com",
|
||||||
|
@ -52,4 +69,4 @@ export interface CustomFrame {
|
||||||
hideOnMobile: boolean;
|
hideOnMobile: boolean;
|
||||||
minimumWidth: number;
|
minimumWidth: number;
|
||||||
customCss: string;
|
customCss: string;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue