fix(right-to-left): preserve order of table cells with rtl

otherwise cells reverse on hover / do not sync between header and rows
This commit is contained in:
dragonwocky 2024-05-28 22:28:21 +10:00
parent fffc0c16d1
commit ec738cd03f
Signed by: dragonwocky
GPG Key ID: 7998D08F7D7BD7A8

View File

@ -20,11 +20,8 @@ export default async (api) => {
.notion-toggle-block [placeholder="Toggle"],
.notion-table_of_contents-block a),
.notion-page-view-discussion [data-content-editable-leaf],
.notion-column-block > div[data-block-id],
.notion-collection_view-block,
.notion-table-view,
.notion-board-view,
.notion-gallery-view):not([dir])`,
.notion-table-view-header-cell, .notion-table-view-cell,
.notion-board-view, .notion-gallery-view):not([dir])`,
listItemSelector = `:is(div[placeholder="List"], div[placeholder="To-do"],
div[placeholder="Toggle"]):not([style*="text-align: start"])`,
inlineEquationSelector =