about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorTanza3D <hubsterhub@gmail.com>2023-10-18 13:53:00 +0100
committerTanza3D <hubsterhub@gmail.com>2023-10-18 13:53:00 +0100
commitde94acb6c8a401296e855f56dde7051ba11cebb6 (patch)
treeec5bb568fda53668a6dc1c7698e17ecb7312722e /src
parent8e9cf182c2e247203b6b5ea9ae701c039945d6a0 (diff)
downloadvoidsky-de94acb6c8a401296e855f56dde7051ba11cebb6.tar.zst
Improve New Post button
Diffstat (limited to 'src')
-rw-r--r--src/view/shell/desktop/LeftNav.tsx14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/view/shell/desktop/LeftNav.tsx b/src/view/shell/desktop/LeftNav.tsx
index cbff3a1c4..bfcf2d3ee 100644
--- a/src/view/shell/desktop/LeftNav.tsx
+++ b/src/view/shell/desktop/LeftNav.tsx
@@ -460,18 +460,22 @@ const styles = StyleSheet.create({
     justifyContent: 'center',
     width: 140,
     borderRadius: 24,
-    paddingVertical: 10,
-    paddingHorizontal: 16,
+    paddingTop: 10,
+    paddingBottom: 13, // visually aligns the text vertically inside the button
+    paddingLeft: 16,
+    paddingRight: 18, // looks nicer like this
     backgroundColor: colors.blue3,
     marginLeft: 12,
     marginTop: 20,
     marginBottom: 10,
     gap: 8,
   },
-  newPostBtnIconWrapper: {},
+  newPostBtnIconWrapper: {
+    marginTop: 2 /* aligns the icon visually with the text */,
+  },
   newPostBtnLabel: {
     color: colors.white,
-    fontSize: 16,
-    fontWeight: 'bold',
+    fontSize: 17,
+    fontWeight: '600',
   },
 })