about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-08-03 00:33:45 +0200
committerGitHub <noreply@github.com>2024-08-03 00:33:45 +0200
commit6298e6897fa8f4a0d296869777326cd43fb875a0 (patch)
tree2584e480e263f66eaf90c43a16038c79f630c1e6
parentc3d8beee6dc141ced2c41795f90b3309a2bc75a2 (diff)
downloadvoidsky-6298e6897fa8f4a0d296869777326cd43fb875a0.tar.zst
tweak list header (#4870)
Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
-rw-r--r--src/components/Lists.tsx12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/components/Lists.tsx b/src/components/Lists.tsx
index e706e101f..beeb55476 100644
--- a/src/components/Lists.tsx
+++ b/src/components/Lists.tsx
@@ -122,8 +122,16 @@ export function ListHeaderDesktop({
   if (!gtTablet) return null
 
   return (
-    <View style={[a.w_full, a.py_lg, a.px_xl, a.gap_xs]}>
-      <Text style={[a.text_3xl, a.font_bold]}>{title}</Text>
+    <View
+      style={[
+        a.w_full,
+        a.py_sm,
+        a.px_xl,
+        a.gap_xs,
+        a.justify_center,
+        {minHeight: 50},
+      ]}>
+      <Text style={[a.text_2xl, a.font_bold]}>{title}</Text>
       {subtitle ? (
         <Text style={[a.text_md, t.atoms.text_contrast_medium]}>
           {subtitle}