From 8dfb97a66a8d2fa89e92b5cc52debaceecacfede Mon Sep 17 00:00:00 2001 From: runargs <39810066+runargs@users.noreply.github.com> Date: Tue, 3 Nov 2020 01:48:10 -0500 Subject: [PATCH] Revert "Add bullet condensing & bullet lines tweaks" This reverts commit 71bc6e2c3003f85328512fba442128a4d117d8da. --- mods/tweaks/mod.js | 19 ------------------- mods/tweaks/styles.css | 13 ------------- 2 files changed, 32 deletions(-) diff --git a/mods/tweaks/mod.js b/mods/tweaks/mod.js index 6d0d3b4..c457b2b 100644 --- a/mods/tweaks/mod.js +++ b/mods/tweaks/mod.js @@ -66,23 +66,6 @@ module.exports = { type: 'toggle', value: false, }, - { - key: 'condensed_bullets', - label: 'condense bullet points', - desc: - "makes bullet point blocks closer together and have tighter line spacing", - type: 'toggle', - value: false, - }, - { - key: 'indentation_lines', - label: 'indentation lines for bullets', - desc: - "adds vertical indentation/relationship lines to make bullet trees\ - easier to follow", - type: 'toggle', - value: false, - }, ], hacks: { 'renderer/preload.js': (store, __exports) => { @@ -94,8 +77,6 @@ module.exports = { 'thicker_bold', 'spaced_lines', 'hide_help', - 'condensed_bullets', - 'indentation_lines' ] .filter((tweak) => store()[tweak]) .map((tweak) => `[${tweak}]`) diff --git a/mods/tweaks/styles.css b/mods/tweaks/styles.css index f313fe3..856c56a 100644 --- a/mods/tweaks/styles.css +++ b/mods/tweaks/styles.css @@ -46,16 +46,3 @@ --theme_light--text-block_line-height: 1.65; --theme_light--text-block_margin-top: 0.75em; } - -[data-tweaks*='[condensed_bullets]'] - .notion-selectable.notion-bulleted_list-block { - line-height: 1.1 !important; - margin-top: -1.5px !important; - margin-bottom: -1.5px !important; -} - -[data-tweaks*='[indentation_lines]'] - div.notion-selectable.notion-bulleted_list-block - > div > div > div.notion-selectable.notion-bulleted_list-block { - border-left: 1px dashed var(--theme--text_ui_info); -} \ No newline at end of file