mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-06 21:49:03 +00:00
fix theming primary-colour text + right-to-left text in columns
This commit is contained in:
parent
1618b5d966
commit
78667d16d6
@ -403,7 +403,8 @@
|
||||
background: var(--theme--selected) !important;
|
||||
}
|
||||
|
||||
[style*=' color: rgb(46, 170, 220)'] {
|
||||
[style*=' color: rgb(46, 170, 220)'],
|
||||
[style^='color: rgb(46, 170, 220)'] {
|
||||
color: var(--theme--primary) !important;
|
||||
}
|
||||
[style*='fill: rgb(46, 170, 220)'] {
|
||||
|
@ -12,7 +12,7 @@ module.exports = {
|
||||
tags: ['extension'],
|
||||
name: 'right-to-left',
|
||||
desc: 'enables auto rtl/ltr text direction detection.',
|
||||
version: '1.4.0',
|
||||
version: '1.4.1',
|
||||
author: 'obahareth',
|
||||
hacks: {
|
||||
'renderer/preload.js'(store, __exports) {
|
||||
@ -48,7 +48,9 @@ module.exports = {
|
||||
function autoAlignPageContent() {
|
||||
document
|
||||
.querySelectorAll(
|
||||
'.notion-page-content > div[data-block-id]:not([dir]), [placeholder="Untitled"]:not([dir])'
|
||||
`.notion-page-content > div[data-block-id]:not([dir]):not(.notion-column_list-block),
|
||||
[placeholder="Untitled"]:not([dir]),
|
||||
.notion-column-block > div[data-block-id]:not([dir])`
|
||||
)
|
||||
.forEach((block) => block.setAttribute('dir', 'auto'));
|
||||
document
|
||||
|
Loading…
Reference in New Issue
Block a user