Skip to content

A local-first personal finance app

fix: add minimum width to value editor in ConditionEditor component (#5766)

Matiss Janis Aboltins6e96b81799a2
diff --git a/packages/desktop-client/src/components/rules/RuleEditor.tsx b/packages/desktop-client/src/components/rules/RuleEditor.tsx
index b5674b0eb1..30f5b87f7c 100644
--- a/packages/desktop-client/src/components/rules/RuleEditor.tsx
+++ b/packages/desktop-client/src/components/rules/RuleEditor.tsx
@@ -348,7 +348,7 @@ function ConditionEditor({
/>
<OpSelect ops={ops} value={op} type={type} onChange={onChange} />
- <View style={{ flex: 1 }}>{valueEditor}</View>
+ <View style={{ flex: 1, minWidth: 80 }}>{valueEditor}</View>
<Stack direction="row">
<EditorButtons
diff --git a/upcoming-release-notes/5766.md b/upcoming-release-notes/5766.md
new file mode 100644
index 0000000000..a01f1b0aea
--- /dev/null
+++ b/upcoming-release-notes/5766.md
@@ -0,0 +1,6 @@
+---
+category: Enhancements
+authors: [MatissJanis]
+---
+
+Mobile rules page - set min width for value editor