Skip to content

Build your personal knowledge base with Trilium Notes

style(legacy)/checkboxes and radios: add a gap between the tickbox and the label

Adorian Dorana54177fee089
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index ae6e2109a9..44057bbc65 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -176,6 +176,11 @@ label.tn-checkbox + label.tn-checkbox {
margin-left: 12px;
}
+label.tn-radio input[type="radio"],
+label.tn-checkbox input[type="checkbox"] {
+ margin-right: .5em;
+}
+
#left-pane input,
#left-pane select,
#left-pane textarea {
diff --git a/apps/client/src/stylesheets/theme-next/forms.css b/apps/client/src/stylesheets/theme-next/forms.css
index b09d6cb653..f4465f905a 100644
--- a/apps/client/src/stylesheets/theme-next/forms.css
+++ b/apps/client/src/stylesheets/theme-next/forms.css
@@ -455,6 +455,7 @@ optgroup {
left: 0;
width: var(--box-size);
height: 100%;
+ margin: unset;
opacity: 0 !important;
}