From ffa35c74ae40d7c8274022f51e84102b95339a6a Mon Sep 17 00:00:00 2001 From: dragonwocky Date: Sat, 29 Aug 2020 00:14:29 +1000 Subject: [PATCH] better erroring (#56), menu tweaking, gallery fullpage variable fix --- repo/core/css/dark.css | 1 - repo/core/css/light.css | 1 - repo/core/css/menu.css | 5 +++++ repo/core/menu.js | 4 +--- repo/property-layout/mod.js | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/repo/core/css/dark.css b/repo/core/css/dark.css index 3400dea..2b4d9ed 100644 --- a/repo/core/css/dark.css +++ b/repo/core/css/dark.css @@ -46,7 +46,6 @@ background: var(--theme--card) !important; } .dark - .notion-page-content .notion-page-block.notion-collection-item [style*='background: rgba(255, 255, 255, 0.05)'] { background: var(--theme--gallery) !important; diff --git a/repo/core/css/light.css b/repo/core/css/light.css index d9cd17e..1dba650 100644 --- a/repo/core/css/light.css +++ b/repo/core/css/light.css @@ -56,7 +56,6 @@ background: var(--theme--card) !important; } .notion-body:not(.dark) - .notion-page-content .notion-page-block.notion-collection-item [style*='background: rgba(55, 53, 47, 0.024)'] { background: var(--theme--gallery) !important; diff --git a/repo/core/css/menu.css b/repo/core/css/menu.css index 6048460..339c09e 100644 --- a/repo/core/css/menu.css +++ b/repo/core/css/menu.css @@ -158,6 +158,11 @@ s { background: var(--theme--bg_green); } +#alerts code { + background: transparent; + text-decoration: underline; +} + [data-relaunch] { text-decoration: underline dotted; cursor: pointer; diff --git a/repo/core/menu.js b/repo/core/menu.js index f1c4ce8..a3e28ee 100644 --- a/repo/core/menu.js +++ b/repo/core/menu.js @@ -107,9 +107,7 @@ window['__start'] = async () => { 'warning', version.sorted[0] == version.local ? `update v${version.repo} available!
- run npm i -g notion-enhancer
- (or yarn global add notion-enhancer),
- and notion-enhancer apply.` + run npm i -g notion-enhancer` : `local build v${raw_v} is unstable.` ).prepend(); }); diff --git a/repo/property-layout/mod.js b/repo/property-layout/mod.js index 48f5729..6df88c4 100644 --- a/repo/property-layout/mod.js +++ b/repo/property-layout/mod.js @@ -12,7 +12,7 @@ module.exports = { tags: ['extension'], name: 'property layout', desc: 'auto-collapse page properties that usually push down page content.', - version: '0.2.1', + version: '0.2.2', author: 'alexander-kazakov', hacks: { 'renderer/preload.js'(store, __exports) {