feat(client/rtl): handle right

This commit is contained in:
Elian Doran 2025-10-08 17:51:58 +03:00
parent db1bcfda45
commit 87fb3c1e82
No known key found for this signature in database
5 changed files with 8 additions and 8 deletions

View File

@ -47,7 +47,7 @@ const TPL = /*html*/`\
position: sticky; position: sticky;
top: 0; top: 0;
inset-inline-start: 0; inset-inline-start: 0;
right: 0; inset-inline-end: 0;
background: var(--modal-background-color); background: var(--modal-background-color);
z-index: 998; z-index: 998;
} }

View File

@ -61,7 +61,7 @@ const TPL = /*html*/`
display: flex; display: flex;
align-items: flex-end; align-items: flex-end;
justify-content: flex-end; justify-content: flex-end;
right: 17px; inset-inline-end: 17px;
border-radius: 7px; border-radius: 7px;
border: 1px solid var(--main-border-color); border: 1px solid var(--main-border-color);
} }
@ -82,15 +82,15 @@ const TPL = /*html*/`
} }
.collapse-tree-button { .collapse-tree-button {
right: 100px; inset-inline-end: 100px;
} }
.scroll-to-active-note-button { .scroll-to-active-note-button {
right: 55px; inset-inline-end: 55px;
} }
.tree-settings-button { .tree-settings-button {
right: 10px; inset-inline-end: 10px;
} }
.tree-settings-popup { .tree-settings-popup {

View File

@ -96,7 +96,7 @@ const TPL = /*html*/`
position: absolute; position: absolute;
top: 10px; top: 10px;
inset-inline-start: 0px; inset-inline-start: 0px;
right: 0; inset-inline-end: 0;
height: 2px; height: 2px;
background: rgba(0, 0, 0, 0.5); background: rgba(0, 0, 0, 0.5);
transform: rotate(45deg); transform: rotate(45deg);

View File

@ -29,7 +29,7 @@ const TPL = /*html*/`
.map-container .node-menu { .map-container .node-menu {
position: absolute; position: absolute;
top: 60px; top: 60px;
right: 20px; inset-inline-end: 20px;
bottom: 80px; bottom: 80px;
overflow: auto; overflow: auto;
background: var(--panel-bgcolor); background: var(--panel-bgcolor);

View File

@ -56,7 +56,7 @@ const TPL = /*html*/`
.edit-text-note-button { .edit-text-note-button {
position: absolute; position: absolute;
top: 5px; top: 5px;
right: 10px; inset-inline-end: 10px;
font-size: 150%; font-size: 150%;
padding: 5px; padding: 5px;
cursor: pointer; cursor: pointer;