mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-01 19:49:54 +02:00
editor: use css for propagating text direction to child nodes
This commit is contained in:
committed by
Abdullah Atta
parent
ef104e4126
commit
c22bedbfcf
@@ -466,3 +466,32 @@ p > *::selection {
|
||||
.math-inline.math-select .math-render {
|
||||
padding-top: 2px;
|
||||
} */
|
||||
|
||||
/* RTL */
|
||||
|
||||
[dir="rtl"] * {
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
[dir="rtl"] ul {
|
||||
margin-left: 0px !important;
|
||||
}
|
||||
|
||||
blockquote[dir="rtl"] {
|
||||
border-left: none;
|
||||
padding-left: 0px;
|
||||
border-right: 5px solid var(--border);
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
.outline-list-item-toggle.rtl {
|
||||
display: none;
|
||||
}
|
||||
|
||||
[dir="rtl"] .outline-list-item-toggle.rtl {
|
||||
display: block;
|
||||
}
|
||||
|
||||
[dir="rtl"] .outline-list-item-toggle:not(.rtl) {
|
||||
display: none;
|
||||
}
|
||||
Reference in New Issue
Block a user