diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-10-30 19:18:24 -0700 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-10-30 19:18:24 -0700 |
commit | 33ea9ccef70147c6827e3a2820a4c75bfc9abd89 (patch) | |
tree | f20cf376bdbcc24465da28a7238874a3dfaba468 | |
parent | d5c7b8ceb83c182c88aa6321fcce341dc27ae682 (diff) | |
parent | 33a87ca22ead24d591b6076d9b69e12dfcdcd41f (diff) | |
download | voidsky-33ea9ccef70147c6827e3a2820a4c75bfc9abd89.tar.zst |
Merge branch 'Tanza3D-improve-post-button' into main
-rw-r--r-- | src/view/shell/desktop/LeftNav.tsx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/view/shell/desktop/LeftNav.tsx b/src/view/shell/desktop/LeftNav.tsx index cbff3a1c4..2679a6648 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: 12, // 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', + fontWeight: '600', }, }) |