about summary refs log tree commit diff
path: root/src/view/com/util/forms
diff options
context:
space:
mode:
authorOllie H <renahlee@outlook.com>2023-05-15 11:14:45 -0700
committerGitHub <noreply@github.com>2023-05-15 13:14:45 -0500
commit824a2313b1d1d7a5c5ab7fa8680ac8aa30c98bc0 (patch)
tree3491219248a301c671e194d48d6eba1e14eb842f /src/view/com/util/forms
parent841ad692d3b3b57d0a810201139af965200e0b9a (diff)
downloadvoidsky-824a2313b1d1d7a5c5ab7fa8680ac8aa30c98bc0.tar.zst
Style cleaning and initial text size audit (#618)
* Style cleaning and initial text size audit

* Put file back
Diffstat (limited to 'src/view/com/util/forms')
-rw-r--r--src/view/com/util/forms/DropdownButton.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/view/com/util/forms/DropdownButton.tsx b/src/view/com/util/forms/DropdownButton.tsx
index 04346d91f..10076360f 100644
--- a/src/view/com/util/forms/DropdownButton.tsx
+++ b/src/view/com/util/forms/DropdownButton.tsx
@@ -339,7 +339,9 @@ const DropdownItems = ({
                     color={pal.text.color as string}
                   />
                 )}
-                <Text style={[styles.label, pal.text]}>{item.label}</Text>
+                <Text style={[styles.label, pal.text]} numberOfLines={1}>
+                  {item.label}
+                </Text>
               </TouchableOpacity>
             )
           } else if (isSep(item)) {