mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-07 05:59:02 +00:00
new theme screenshots + bugfixes
This commit is contained in:
parent
cc4e2fb807
commit
d3b444827a
@ -13,7 +13,7 @@ module.exports = {
|
|||||||
tags: ['extension'],
|
tags: ['extension'],
|
||||||
name: 'calendar scroll',
|
name: 'calendar scroll',
|
||||||
desc:
|
desc:
|
||||||
'add a button to scroll down to the current week in fullpage/infinite-scroll calendars',
|
'add a button to scroll down to the current week in fullpage/infinite-scroll calendars.',
|
||||||
version: '0.1.0',
|
version: '0.1.0',
|
||||||
author: 'dragonwocky',
|
author: 'dragonwocky',
|
||||||
hacks: {
|
hacks: {
|
||||||
|
@ -15,7 +15,7 @@ module.exports = (store) => {
|
|||||||
buttons = {
|
buttons = {
|
||||||
element: helpers.createElement('<div class="window-buttons-area"></div>'),
|
element: helpers.createElement('<div class="window-buttons-area"></div>'),
|
||||||
insert: [
|
insert: [
|
||||||
...((store('mods')['72886371-dada-49a7-9afc-9f275ecf29d3'] || {})
|
...((store('mods', {})['72886371-dada-49a7-9afc-9f275ecf29d3'] || {})
|
||||||
.enabled
|
.enabled
|
||||||
? ['alwaysontop']
|
? ['alwaysontop']
|
||||||
: []),
|
: []),
|
||||||
|
@ -39,7 +39,8 @@
|
|||||||
[style*='pointer-events:'][style*='max-width: 100%; width: 900px'] {
|
[style*='pointer-events:'][style*='max-width: 100%; width: 900px'] {
|
||||||
width: var(--theme--page_normal-width) !important;
|
width: var(--theme--page_normal-width) !important;
|
||||||
}
|
}
|
||||||
.notion-page-content [style*='max-width: 696px'] {
|
|
||||||
|
.notion-page-content [data-block-id][style*='max-width'] {
|
||||||
max-width: 100% !important;
|
max-width: 100% !important;
|
||||||
}
|
}
|
||||||
.notion-frame
|
.notion-frame
|
||||||
@ -51,12 +52,18 @@
|
|||||||
[style*='pointer-events:'][style*='max-width: 100%; width: 100%'] {
|
[style*='pointer-events:'][style*='max-width: 100%; width: 100%'] {
|
||||||
width: var(--theme--page_full-width) !important;
|
width: var(--theme--page_full-width) !important;
|
||||||
}
|
}
|
||||||
|
.notion-text-block [style*='padding-left: 1.5em'],
|
||||||
.notion-frame .notion-scroller [style*='padding-left: 136.5px;'] {
|
.notion-frame .notion-scroller [style*='padding-left: 136.5px;'] {
|
||||||
padding-left: 0 !important;
|
padding-left: 0 !important;
|
||||||
}
|
}
|
||||||
.notion-frame .notion-scroller [style*='padding-right: 136.5px;'] {
|
.notion-frame .notion-scroller [style*='padding-right: 136.5px;'] {
|
||||||
padding-right: 0 !important;
|
padding-right: 0 !important;
|
||||||
}
|
}
|
||||||
|
.notion-collection_view-block > :first-child,
|
||||||
|
.notion-collection_view-block .notion-scroller > :first-child {
|
||||||
|
padding-left: 0 !important;
|
||||||
|
padding-right: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
.notion-peek-renderer
|
.notion-peek-renderer
|
||||||
.notion-scroller.vertical
|
.notion-scroller.vertical
|
||||||
|
@ -48,7 +48,7 @@ module.exports = {
|
|||||||
function autoAlignPageContent() {
|
function autoAlignPageContent() {
|
||||||
document
|
document
|
||||||
.querySelectorAll(
|
.querySelectorAll(
|
||||||
'.notion-page-content > div[data-block-id]:not([dir])'
|
'.notion-page-content > div[data-block-id]:not([dir]), [placeholder="Untitled"]:not([dir])'
|
||||||
)
|
)
|
||||||
.forEach((block) => block.setAttribute('dir', 'auto'));
|
.forEach((block) => block.setAttribute('dir', 'auto'));
|
||||||
document
|
document
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
}
|
}
|
||||||
#word-counter-details > div > p {
|
#word-counter-details > div > p {
|
||||||
margin: 0.5em;
|
margin: 0.5em;
|
||||||
|
cursor: pointer;
|
||||||
font-size: var(--theme--font_label-size);
|
font-size: var(--theme--font_label-size);
|
||||||
color: var(--theme--text);
|
color: var(--theme--text);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
Loading…
Reference in New Issue
Block a user