mirror of
https://github.com/Ellpeck/ObsidianCustomFrames.git
synced 2024-11-22 09:43:30 +01:00
Feat: Add google calendar preset (#9)
* Feat: Add Google Calendar preset * Update README.md
This commit is contained in:
parent
2980c2cb5f
commit
9108b86a6f
2 changed files with 20 additions and 2 deletions
|
@ -17,6 +17,7 @@ Unfortunately, Obsidian Mobile does not run on [Electron](https://www.electronjs
|
|||
By default, Custom Frames comes with a few presets that allow you to get new panes for popular sites up and running quickly.
|
||||
- [Obsidian Forum](https://forum.obsidian.md/)
|
||||
- [Google Keep](https://keep.google.com), optimized for a narrow pane on the side
|
||||
- [Google Calendar](https://calendar.google.com/calendar/u/0/r/day), optimized by removing some buttons. Close side panel with top-left button.
|
||||
- [Notion](https://www.notion.so/) (it's recommended to close Notion's sidebar if used as a side pane)
|
||||
- [Twitter](https://twitter.com)
|
||||
|
||||
|
|
|
@ -10,6 +10,23 @@ export const presets: Record<string, CustomFrame> = {
|
|||
hideOnMobile: true,
|
||||
minimumWidth: 367,
|
||||
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": {
|
||||
url: "https://keep.google.com",
|
||||
|
|
Loading…
Reference in a new issue