diff --git a/repo/focus-mode/mod.js b/repo/focus-mode/mod.js index 3f61241..10994ac 100644 --- a/repo/focus-mode/mod.js +++ b/repo/focus-mode/mod.js @@ -13,6 +13,6 @@ module.exports = { name: 'focus mode', desc: 'hide the titlebar/menubar if the sidebar is closed (will be shown on hover).', - version: '0.1.0', + version: '0.1.1', author: 'arecsu', }; diff --git a/repo/focus-mode/styles.css b/repo/focus-mode/styles.css index 77f14b5..c71829f 100644 --- a/repo/focus-mode/styles.css +++ b/repo/focus-mode/styles.css @@ -5,6 +5,11 @@ * under the MIT license */ +/* add space at the bottom of the main frame when sidebar is hidden + * -- matches space at top for titlebar */ +.notion-dark-theme .notion-frame { + transition: height 100ms ease 0s; +} .notion-sidebar-container[style*='width: 0px;'] + .notion-frame { height: calc( 100% - (var(--configured--dragarea_height, 10px) + 45px) diff --git a/repo/neutral/mod.js b/repo/neutral/mod.js index 8f1533a..a695dc9 100644 --- a/repo/neutral/mod.js +++ b/repo/neutral/mod.js @@ -12,7 +12,7 @@ module.exports = { tags: ['theme', 'dark'], name: 'neutral', desc: 'smoother colours and fonts, designed to be more pleasing to the eye.', - version: '0.1.3', + version: '0.1.4', author: 'arecsu', fonts: [ 'https://rsms.me/inter/inter.css', diff --git a/repo/neutral/styles.css b/repo/neutral/styles.css index 8b28df9..5f6c242 100644 --- a/repo/neutral/styles.css +++ b/repo/neutral/styles.css @@ -143,17 +143,6 @@ padding-top: 5px !important; } */ -/* add space at the bottom of the main frame when sidebar is hidden - * -- matches space at top for titlebar */ -.notion-dark-theme .notion-frame { - transition: height 300ms ease 0s; -} -.notion-dark-theme - .notion-sidebar-container[style*='width: 0px;'] - + .notion-frame { - height: calc(100vh - 40px) !important; -} - /* hide sidebar "new page" button */ .notion-dark-theme .notion-sidebar