Skip to content

Commit

Permalink
Merge pull request #18 from tnfAngel-Chat:dev
Browse files Browse the repository at this point in the history
better responsive & margins
  • Loading branch information
tnfAngel committed May 9, 2024
2 parents 1abc0b6 + 7bac6e6 commit 366aaeb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/channel/ChannelTopBarContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default function ChannelTopBarContent({ channel, userSidebarRef, channelF
) : null}
</Flex>
<Spacer />
<Flex gap={['10px', '24px']}>
<Flex gap={['5px', '10px', '24px']}>
{(channel.type === ChannelTypes.DirectMessage || channel.type === ChannelTypes.Group) && (
<>
<Center>
Expand Down
2 changes: 1 addition & 1 deletion src/components/channel/InputArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ export default function InputArea({ channel }: Readonly<InputBoxProps>) {
</Flex>
</Flex>
) : null}
<Flex h='100%' w='100%' gap={['12px', '24px']}>
<Flex h='100%' w='100%' gap={['8px', '12px', '24px']}>
<Flex gap='24px' paddingTop='6px'>
<IconButton
aria-label='Add attachments'
Expand Down
2 changes: 1 addition & 1 deletion src/components/friends/Friends.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function Friends() {

return (
<Center ref={mainRef} h='100%' className='adjustScreen'>
<Stack spacing='24px'>
<Stack spacing='24px' p='10px'>
<Heading as='h1'>Friends</Heading>
<Text>Oh, you don't have any friends right now...</Text>
</Stack>
Expand Down
2 changes: 1 addition & 1 deletion src/components/screens/GuildScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default function GuildScreen() {
spacing='10px'
w='100%'
>
<Center w='100%' h='100%'>
<Center w='100%' h='100%' p='10px'>
<Stack>
<Heading as='h1' size='lg'>
Welcome to {guild.name}
Expand Down
1 change: 1 addition & 0 deletions src/components/screens/IndexScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export default function IndexScreen() {
padding='20px'
borderRadius='10px'
alignItems='center'
m='5px'
bg={getColorValue('sidebarBackground')}
>
<Alert status='error' borderRadius='5px'>
Expand Down

0 comments on commit 366aaeb

Please sign in to comment.