diff --git a/README.md b/README.md index dc8fbef..9632e33 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/src/settings.ts b/src/settings.ts index 742a927..942b814 100644 --- a/src/settings.ts +++ b/src/settings.ts @@ -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",