Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(client/rtl): handle border-right
Elian Dorana8e44afd6d62
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.cssindex 185728b814..2528b1dfe0 100644--- a/apps/client/src/stylesheets/style.css+++ b/apps/client/src/stylesheets/style.css@@ -504,7 +504,7 @@ body #context-menu-container .dropdown-item > span {body .cm-editor .cm-gutters {background-color: inherit !important;- border-right: none;+ border-inline-end: none;}body .cm-editor .cm-placeholder {@@ -671,7 +671,7 @@ pre > button.copy-button:active {.note-autocomplete-input {/* this is for seamless integration of "input clearer" button */- border-right: 0;+ border-inline-end: 0;}table.promoted-attributes-in-tooltip {@@ -707,7 +707,7 @@ table.promoted-attributes-in-tooltip th {border-inline-start-color: var(--main-border-color) !important;}.bs-tooltip-right .tooltip-arrow::before {- border-right-color: var(--main-border-color) !important;+ border-inline-end-color: var(--main-border-color) !important;}.bs-tooltip-bottom .tooltip-arrow::after {@@ -720,7 +720,7 @@ table.promoted-attributes-in-tooltip th {border-inline-start-color: var(--tooltip-background-color) !important;}.bs-tooltip-right .tooltip-arrow::after {- border-right-color: var(--tooltip-background-color) !important;+ border-inline-end-color: var(--tooltip-background-color) !important;}.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before,@@ -741,7 +741,7 @@ table.promoted-attributes-in-tooltip th {.bs-tooltip-right .tooltip-arrow::before {right: -1px;border-width: 0.4rem 0.4rem 0.4rem 0;- border-right-color: var(--main-border-color) !important;+ border-inline-end-color: var(--main-border-color) !important;}.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before,@@ -769,7 +769,7 @@ table.promoted-attributes-in-tooltip th {.bs-tooltip-right .tooltip-arrow::after {right: -1px;border-width: 0.4rem 0.4rem 0.4rem 0;- border-right-color: var(--tooltip-background-color) !important;+ border-inline-end-color: var(--tooltip-background-color) !important;}.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::after,diff --git a/apps/client/src/stylesheets/table.css b/apps/client/src/stylesheets/table.cssindex 4285194e79..11e401fcb2 100644--- a/apps/client/src/stylesheets/table.css+++ b/apps/client/src/stylesheets/table.css@@ -73,7 +73,7 @@.tabulator div.tabulator-header .tabulator-col,.tabulator div.tabulator-header .tabulator-frozen.tabulator-frozen-left {background: var(--col-header-background-color);- border-right: var(--col-header-separator-border);+ border-inline-end: var(--col-header-separator-border);}/* Table body */@@ -122,7 +122,7 @@.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left,.tabulator-row .tabulator-cell {- border-right-color: transparent;+ border-inline-end-color: transparent;}.tabulator-row .tabulator-cell:not(.tabulator-editable) {diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.cssindex 48f8bf016e..1658582bc4 100644--- a/apps/client/src/stylesheets/theme-next/shell.css+++ b/apps/client/src/stylesheets/theme-next/shell.css@@ -69,7 +69,7 @@ body.background-effects.platform-win32.layout-vertical #vertical-main-container/* Add a border to the vertical launch bar if collapsed. */body.layout-vertical #horizontal-main-container.left-pane-hidden #launcher-pane.vertical {- border-right: 2px solid var(--left-pane-collapsed-border-color);+ border-inline-end: 2px solid var(--left-pane-collapsed-border-color);}body.background-effects.zen #root-widget {@@ -699,7 +699,7 @@ body.mobile .fancytree-node > span {body.mobile:not(.force-fixed-tree) #mobile-sidebar-wrapper {border-top-right-radius: 12px;border-bottom-right-radius: 12px;- border-right: 1px solid var(--subtle-border-color);+ border-inline-end: 1px solid var(--subtle-border-color);}}diff --git a/apps/client/src/widgets/collections/table/index.css b/apps/client/src/widgets/collections/table/index.cssindex 48249b0c90..cb082a337f 100644--- a/apps/client/src/widgets/collections/table/index.css+++ b/apps/client/src/widgets/collections/table/index.css@@ -33,7 +33,7 @@.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left,.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left {- border-right-width: 1px;+ border-inline-end-width: 1px;}.tabulator .tabulator-row.archived {diff --git a/apps/client/src/widgets/icon_list.ts b/apps/client/src/widgets/icon_list.tsindex 34d5604d1a..a152e9a342 100644--- a/apps/client/src/widgets/icon_list.ts+++ b/apps/client/src/widgets/icon_list.ts@@ -2090,8 +2090,8 @@ const icons: Icon[] = [term: ["keypad"]},{- name: "border-right",- slug: "border-right-regular",+ name: "border-inline-end",+ slug: "border-inline-end-regular",category_id: 111,type_of_icon: "REGULAR"},