about summary refs log tree commit diff
path: root/src/screens/Profile/Header/index.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-10-03 10:45:01 -0500
committerGitHub <noreply@github.com>2024-10-03 10:45:01 -0500
commiteb3b01d0adc5d5c053e1d350c087941b56106497 (patch)
tree2b8ef5b8a497c77fea4ef6174d06e53f074e0b57 /src/screens/Profile/Header/index.tsx
parent7e79c7f768e40ef192decfeac0dfac63c3d37468 (diff)
downloadvoidsky-eb3b01d0adc5d5c053e1d350c087941b56106497.tar.zst
Fix profile header buttons (#5558)
* Fix profile header buttons

* Adjust labeler buttons too

* Fix load state jumps

* Small tweak for web

* Remove log
Diffstat (limited to 'src/screens/Profile/Header/index.tsx')
-rw-r--r--src/screens/Profile/Header/index.tsx7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/screens/Profile/Header/index.tsx b/src/screens/Profile/Header/index.tsx
index cdb0667d0..deb8063d9 100644
--- a/src/screens/Profile/Header/index.tsx
+++ b/src/screens/Profile/Header/index.tsx
@@ -27,7 +27,7 @@ let ProfileHeaderLoading = (_props: {}): React.ReactNode => {
       </View>
       <View style={styles.content}>
         <View style={[styles.buttonsLine]}>
-          <LoadingPlaceholder width={167} height={36} style={styles.br50} />
+          <LoadingPlaceholder width={140} height={34} style={styles.br50} />
         </View>
       </View>
     </View>
@@ -69,13 +69,12 @@ const styles = StyleSheet.create({
   },
   content: {
     paddingTop: 12,
-    paddingHorizontal: 14,
-    paddingBottom: 4,
+    paddingHorizontal: 16,
+    paddingBottom: 8,
   },
   buttonsLine: {
     flexDirection: 'row',
     marginLeft: 'auto',
-    marginBottom: 12,
   },
   br45: {borderRadius: 45},
   br50: {borderRadius: 50},