mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-11 15:59:03 +00:00
property-layout finally working regardless of banner
This commit is contained in:
parent
44423552af
commit
9f66acccd8
@ -6,6 +6,10 @@
|
|||||||
- [improved responsiveness](https://chrome.google.com/webstore/detail/notion%20%20-responsiveness-f/leadcilhbmibbkgbnjgmmnfgnnhmeddk)
|
- [improved responsiveness](https://chrome.google.com/webstore/detail/notion%20%20-responsiveness-f/leadcilhbmibbkgbnjgmmnfgnnhmeddk)
|
||||||
- [highlight/mark viewer](https://chrome.google.com/webstore/detail/notion%2B-mark-manager/hipgmnlpnimedfepbfbfiaobohhffcfc)
|
- [highlight/mark viewer](https://chrome.google.com/webstore/detail/notion%2B-mark-manager/hipgmnlpnimedfepbfbfiaobohhffcfc)
|
||||||
|
|
||||||
|
### v0.8.4 (2020-08-29)
|
||||||
|
|
||||||
|
- bugfix: property-layout now works consistently with or without a banner.
|
||||||
|
|
||||||
### v0.8.3 (2020-08-29)
|
### v0.8.3 (2020-08-29)
|
||||||
|
|
||||||
previous release was a mistake: it did as intended on linux, but broke windows.
|
previous release was a mistake: it did as intended on linux, but broke windows.
|
||||||
@ -28,6 +32,7 @@ a clarity and stability update.
|
|||||||
- bugfix: property-layout extension had been broken by internal notion changes.
|
- bugfix: property-layout extension had been broken by internal notion changes.
|
||||||
- bugfix: linux installer path typo.
|
- bugfix: linux installer path typo.
|
||||||
- bugfix: caret-color was being mistaken for color and block-level text colouring was broken.
|
- bugfix: caret-color was being mistaken for color and block-level text colouring was broken.
|
||||||
|
- improved: auto-application on install.
|
||||||
|
|
||||||
### v0.8.0 (2020-08-27)
|
### v0.8.0 (2020-08-27)
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ module.exports = {
|
|||||||
tags: ['extension'],
|
tags: ['extension'],
|
||||||
name: 'property layout',
|
name: 'property layout',
|
||||||
desc: 'auto-collapse page properties that usually push down page content.',
|
desc: 'auto-collapse page properties that usually push down page content.',
|
||||||
version: '0.2.2',
|
version: '0.2.3',
|
||||||
author: 'alexander-kazakov',
|
author: 'alexander-kazakov',
|
||||||
hacks: {
|
hacks: {
|
||||||
'renderer/preload.js'(store, __exports) {
|
'renderer/preload.js'(store, __exports) {
|
||||||
@ -30,7 +30,7 @@ module.exports = {
|
|||||||
function process(list) {
|
function process(list) {
|
||||||
queue = [];
|
queue = [];
|
||||||
let properties = document.querySelector(
|
let properties = document.querySelector(
|
||||||
'.notion-scroller.vertical > div > div:nth-child(2) [style="width: 100%; font-size: 14px;"]'
|
'.notion-scroller.vertical > :first-child [style="width: 100%; font-size: 14px;"]'
|
||||||
);
|
);
|
||||||
if (
|
if (
|
||||||
properties &&
|
properties &&
|
||||||
|
@ -20,6 +20,9 @@
|
|||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
transition: background 200ms;
|
transition: background 200ms;
|
||||||
}
|
}
|
||||||
|
.notion-scroller.vertical > div > :first-child .propertylayout-toggle {
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
.propertylayout-toggle[data-action='show'] {
|
.propertylayout-toggle[data-action='show'] {
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user