Skip to content

Commit

Permalink
fix: spacing between banner and input
Browse files Browse the repository at this point in the history
  • Loading branch information
Barresi committed Apr 18, 2024
1 parent 7c5c905 commit 4363cfa
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/pages/page-profile/ui/page-profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ import { InputSendMessage } from '@shared/ui/input-send-message'
import { type FC } from 'react'
import { CardProfile } from './card-profile'
import { CardProfileMobile } from './card-profile-mobile'
import { PostNews } from './post-news'

const PageProfile: FC = () => {
const user = useAppSelector(selectUser)
return (
<div>
<div className='w-full flex flex-col xl:flex-row-reverse justify-between gap-[20px] lg:gap-[30px] lg:mb-[20px] px-[20px] lg:px-0'>
<CardProfile />
<div className='w-full xxl:w-2/3 rounded-[10px] grid gap-[20px] xl:gap-[30px]'>
<div className='w-full xxl:w-2/3 rounded-[10px] flex flex-col gap-[20px] xl:gap-[30px]'>
<Banner
className='h-[180px] sm:h-[295px] lg:h-[337px]'
src={user?.banner || null}
Expand All @@ -27,10 +26,9 @@ const PageProfile: FC = () => {
placeholder='Что у вас нового?'
className='border-none'
/>

<PostNews />
<PostNews />
{/* <PostNews />
<PostNews />
<PostNews /> */}
</div>
</div>
</div>
Expand Down

0 comments on commit 4363cfa

Please sign in to comment.