Merge branch 'dev' into dev

This commit is contained in:
Tom 2020-11-03 22:45:30 +11:00 committed by GitHub
commit c0f22f2ad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 1 deletions

View File

@ -80,6 +80,10 @@ module.exports = {
desc:
"adds vertical indentation/relationship lines to make bullet trees\
easier to follow",
},
{
key: 'scroll_db_toolbars',
label: 'scroll database toolbars',
type: 'toggle',
value: false,
},
@ -96,6 +100,7 @@ module.exports = {
'hide_help',
'condensed_bullets',
'indentation_lines'
'scroll_db_toolbars',
]
.filter((tweak) => store()[tweak])
.map((tweak) => `[${tweak}]`)

View File

@ -59,3 +59,12 @@
> div > div > div.notion-selectable.notion-bulleted_list-block {
border-left: 1px dashed var(--theme--text_ui_info);
}
[data-tweaks*='[scroll_db_toolbars]'] .notion-frame > .notion-scroller > [style*="overflow: visible;"],
[data-tweaks*='[scroll_db_toolbars]'] .notion-page-content .notion-collection_view-block > :first-child {
overflow-x: auto !important;
}
[data-tweaks*='[scroll_db_toolbars]'] .notion-frame > .notion-scroller > [style*="overflow: visible;"]::-webkit-scrollbar,
[data-tweaks*='[scroll_db_toolbars]'] .notion-page-content .notion-collection_view-block > :first-child::-webkit-scrollbar {
display: none;
}