Skip to content

Build your personal knowledge base with Trilium Notes

fix(form_list): align the switch of a described toggle row to the end

Elian Doranf43d2472f2a4
diff --git a/apps/client/src/widgets/react/FormList.css b/apps/client/src/widgets/react/FormList.css
index bb49f43bb7..094efdba3e 100644
--- a/apps/client/src/widgets/react/FormList.css
+++ b/apps/client/src/widgets/react/FormList.css
@@ -9,6 +9,10 @@
flex-shrink: 0;
}
+ & > span > div:has(> .switch-widget) {
+ flex-grow: 1;
+ }
+
.switch-widget {
flex-grow: 1;
width: 100%;