Added todoist preset (#15)

* Added todoist preset

* Fixed literal indenting

* Added todoist
This commit is contained in:
EdHout 2022-04-02 15:18:38 +02:00 committed by GitHub
parent eedac8f048
commit 5bd5a75061
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

View file

@ -18,6 +18,7 @@ By default, Custom Frames comes with a few presets that allow you to get new pan
- [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.
- [Todoist](https://todoist.com), optimized for a narrow (half-height) side panel by removing some buttons and slimming margins.
- [Notion](https://www.notion.so/) (it's recommended to close Notion's sidebar if used as a side pane)
- [Twitter](https://twitter.com)

View file

@ -39,6 +39,30 @@ div.dwlvNd {
display: none !important;
}`
},
"todoist": {
url: "https://todoist.com",
displayName: "Todoist",
icon: "list-checks",
hideOnMobile: true,
minimumWidth: 350,
customCss: `/* hide the help, home, search, and productivity overview buttons, create extra space, and prevent toast pop-up from acting weird */
[aria-label="Go to Home view"], #quick_find, [aria-label="Productivity"], [aria-label="Help & Feedback"] {
display: none !important;
}
.view_content {
padding-left: 15px;
}
.view_header {
padding-left: 15px;
padding-top: 10px;
}
.undo_toast {
width: 95%;
}`
},
"notion": {
url: "https://www.notion.so/",
displayName: "Notion",