From ca17cf276ff93f8d4014b639c99938d89d9e951f Mon Sep 17 00:00:00 2001 From: dan Date: Wed, 19 Jun 2024 19:03:59 +0300 Subject: [PATCH] Fix avi placeholder layout (#4570) --- src/screens/Profile/Header/index.tsx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/screens/Profile/Header/index.tsx b/src/screens/Profile/Header/index.tsx index 1280dd8b..c7ef34b7 100644 --- a/src/screens/Profile/Header/index.tsx +++ b/src/screens/Profile/Header/index.tsx @@ -6,11 +6,11 @@ import { ModerationOpts, RichText as RichTextAPI, } from '@atproto/api' -import {LoadingPlaceholder} from 'view/com/util/LoadingPlaceholder' -import {usePalette} from 'lib/hooks/usePalette' -import {ProfileHeaderStandard} from './ProfileHeaderStandard' +import {usePalette} from 'lib/hooks/usePalette' +import {LoadingPlaceholder} from 'view/com/util/LoadingPlaceholder' import {ProfileHeaderLabeler} from './ProfileHeaderLabeler' +import {ProfileHeaderStandard} from './ProfileHeaderStandard' let ProfileHeaderLoading = (_props: {}): React.ReactNode => { const pal = usePalette('default') @@ -19,11 +19,11 @@ let ProfileHeaderLoading = (_props: {}): React.ReactNode => { - + - + @@ -58,13 +58,13 @@ const styles = StyleSheet.create({ position: 'absolute', top: 110, left: 10, - width: 84, - height: 84, - borderRadius: 42, + width: 94, + height: 94, + borderRadius: 47, borderWidth: 2, }, content: { - paddingTop: 8, + paddingTop: 12, paddingHorizontal: 14, paddingBottom: 4, }, @@ -73,6 +73,6 @@ const styles = StyleSheet.create({ marginLeft: 'auto', marginBottom: 12, }, - br40: {borderRadius: 40}, + br45: {borderRadius: 45}, br50: {borderRadius: 50}, })