Skip to content

Build your personal knowledge base with Trilium Notes

style(note_language): size and positioning of the help button

Elian Doran8d60429b9c28
diff --git a/src/public/app/widgets/note_language.ts b/src/public/app/widgets/note_language.ts
index 39dc89a359..f0243c5f3f 100644
--- a/src/public/app/widgets/note_language.ts
+++ b/src/public/app/widgets/note_language.ts
@@ -19,6 +19,15 @@ const TPL = `\
<button class="language-help-button icon-action bx bx-help-circle" type="button" data-in-app-help="B0lcI9xz1r8K" title="${t("open-help-page")}"></button>
<style>
+ .note-language-widget {
+ display: flex;
+ align-items: center;
+ }
+
+ .language-help-button {
+ margin-left: 4px;
+ }
+
.note-language-dropdown [dir=rtl] {
text-align: right;
}
diff --git a/src/public/stylesheets/theme-next/forms.css b/src/public/stylesheets/theme-next/forms.css
index 39bdaf8c62..87d4250c61 100644
--- a/src/public/stylesheets/theme-next/forms.css
+++ b/src/public/stylesheets/theme-next/forms.css
@@ -552,7 +552,8 @@ optgroup {
/* Switches */
-.switch-widget.component {
+.switch-widget.component,
+.note-language-container {
--icon-button-size: 28px;
}