Skip to content

Build your personal knowledge base with Trilium Notes

fix(client/rtl): select arrow in wrong position

Elian Dorand19d05ec7bf7
diff --git a/apps/client/src/stylesheets/theme-next/forms.css b/apps/client/src/stylesheets/theme-next/forms.css
index 9634765781..f62970207b 100644
--- a/apps/client/src/stylesheets/theme-next/forms.css
+++ b/apps/client/src/stylesheets/theme-next/forms.css
@@ -358,12 +358,19 @@ select.form-control,
outline: 3px solid transparent;
outline-offset: 6px;
padding-inline-end: calc(15px + 1.5rem);
- background: var(--input-background-color) var(--dropdown-arrow);
+ background: var(--input-background-color) var(--dropdown-arrow);;
color: var(--input-text-color);
border: unset;
border-radius: 0.375rem;
}
+body[dir=rtl] select,
+body[dir=rtl] select.form-select,
+body[dir=rtl] select.form-control,
+body[dir=rtl] .select-button.dropdown-toggle.btn {
+ background-position: left 0.75rem center;
+}
+
select:hover,
select.form-select:hover,
select.form-control:hover,