A social knowledge tool for researchers built on ATProto

feat: sticky header

+4 -4
+1 -1
src/webapp/components/navigation/header/Header.tsx
··· 8 8 9 9 export default function Header(props: Props) { 10 10 return ( 11 - <Box> 11 + <Box pos={'sticky'} top={0} bg={'white'} style={{ zIndex: 1 }}> 12 12 <Group gap={'xs'} p={'xs'} justify="space-between"> 13 13 {props.children} 14 14 <Box ml={'auto'}>
+1 -1
src/webapp/features/profile/components/profileHeader/MinimalProfileHeader.tsx
··· 8 8 9 9 export default function MinimalProfileHeader(props: Props) { 10 10 return ( 11 - <Container px={0} py={'xs'} size={'xl'} mx={0}> 11 + <Container p={'xs'} size={'xl'} mx={0}> 12 12 <Group gap={'sm'}> 13 13 <Avatar 14 14 src={props.avatarUrl}
+2 -2
src/webapp/features/profile/components/profileHeader/ProfileHeader.tsx
··· 23 23 const profile = await getProfile(props.handle); 24 24 25 25 return ( 26 - <Container bg={'white'} p={'xs'} size={'xl'}> 26 + <Container bg={'white'} p={0} size={'xl'}> 27 27 <MinimalProfileHeaderContainer 28 28 avatarUrl={profile.avatarUrl} 29 29 name={profile.name} 30 30 handle={profile.handle} 31 31 /> 32 - <Stack gap={'sm'}> 32 + <Stack gap={'sm'} p={'xs'}> 33 33 <Stack gap={'xl'}> 34 34 <Grid gutter={'md'} align={'center'} grow> 35 35 <GridCol span={'auto'}>