From 3a7778fe9d1a0d4ac5cf3f618edf1eaf5a7085ee Mon Sep 17 00:00:00 2001 From: pmario Date: Thu, 15 Feb 2024 22:08:02 +0100 Subject: [PATCH] vanilla/base - add 4 text-input flexbox utility classes --- themes/tiddlywiki/vanilla/base.tid | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index 1ca85c6a7..45aff5971 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -372,6 +372,24 @@ Table utility classes padding: 3px; } +/* Labeled text input, where input is max width */ +.tc-labeled-input-wrapper { + display: flex; + padding: 6px 0; +} + +.tc-align-right { + text-align: right; +} + +.tc-fixed-label { + flex: auto; +} + +.tc-fluid-input { + flex: 20; +} + /* CSV parser plugin */