diff --git a/apps/client/src/widgets/dialogs/popup_editor.ts b/apps/client/src/widgets/dialogs/popup_editor.ts index c145be23a..1deb584d9 100644 --- a/apps/client/src/widgets/dialogs/popup_editor.ts +++ b/apps/client/src/widgets/dialogs/popup_editor.ts @@ -47,7 +47,7 @@ const TPL = /*html*/`\ position: sticky; top: 0; inset-inline-start: 0; - right: 0; + inset-inline-end: 0; background: var(--modal-background-color); z-index: 998; } diff --git a/apps/client/src/widgets/note_tree.ts b/apps/client/src/widgets/note_tree.ts index 4636cd60d..f4f600929 100644 --- a/apps/client/src/widgets/note_tree.ts +++ b/apps/client/src/widgets/note_tree.ts @@ -61,7 +61,7 @@ const TPL = /*html*/` display: flex; align-items: flex-end; justify-content: flex-end; - right: 17px; + inset-inline-end: 17px; border-radius: 7px; border: 1px solid var(--main-border-color); } @@ -82,15 +82,15 @@ const TPL = /*html*/` } .collapse-tree-button { - right: 100px; + inset-inline-end: 100px; } .scroll-to-active-note-button { - right: 55px; + inset-inline-end: 55px; } .tree-settings-button { - right: 10px; + inset-inline-end: 10px; } .tree-settings-popup { diff --git a/apps/client/src/widgets/promoted_attributes.ts b/apps/client/src/widgets/promoted_attributes.ts index 324d5468f..5853e1d87 100644 --- a/apps/client/src/widgets/promoted_attributes.ts +++ b/apps/client/src/widgets/promoted_attributes.ts @@ -96,7 +96,7 @@ const TPL = /*html*/` position: absolute; top: 10px; inset-inline-start: 0px; - right: 0; + inset-inline-end: 0; height: 2px; background: rgba(0, 0, 0, 0.5); transform: rotate(45deg); diff --git a/apps/client/src/widgets/type_widgets/mind_map.ts b/apps/client/src/widgets/type_widgets/mind_map.ts index 59e1a7a3e..a6f299455 100644 --- a/apps/client/src/widgets/type_widgets/mind_map.ts +++ b/apps/client/src/widgets/type_widgets/mind_map.ts @@ -29,7 +29,7 @@ const TPL = /*html*/` .map-container .node-menu { position: absolute; top: 60px; - right: 20px; + inset-inline-end: 20px; bottom: 80px; overflow: auto; background: var(--panel-bgcolor); diff --git a/apps/client/src/widgets/type_widgets/read_only_text.ts b/apps/client/src/widgets/type_widgets/read_only_text.ts index 51c83cd5b..2bbd9798e 100644 --- a/apps/client/src/widgets/type_widgets/read_only_text.ts +++ b/apps/client/src/widgets/type_widgets/read_only_text.ts @@ -56,7 +56,7 @@ const TPL = /*html*/` .edit-text-note-button { position: absolute; top: 5px; - right: 10px; + inset-inline-end: 10px; font-size: 150%; padding: 5px; cursor: pointer;