Skip to content

Commit

Permalink
update channel details spacing, update grid spacing on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
salieflewis committed Feb 22, 2024
1 parent 3cd8270 commit 3bc7ed9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/site/app/(base)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function BaseLayout({
<div className="hidden md:block fixed top-[var(--header-height)] z-50 w-full">
<MarqueeWrapper />
</div>
<Flex className="px-5 pt-[70px] md:pt-[104px]">
<Flex className="px-[15px] md:px-5 pt-[57px] md:pt-[104px]">
<div className="hidden md:w-[19%] md:block">
<RecentChannels params={params} />
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/site/app/channel/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default async function Channel({
<div className="hidden md:block fixed top-[var(--header-height)] z-50 w-full">
<MarqueeWrapper />
</div>
<Flex className="px-5 pt-[70px] md:pt-[104px]">
<Flex className="px-[15px] md:px-5 pt-[57px] md:pt-[104px]">
<div className="hidden md:w-[19%] md:block">
<RecentChannels params={params} />
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/site/components/client/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function Header() {
<div className="bg-popover fixed z-50 w-screen">
{/* Header */}
<Flex
className={`py-[11px] px-5 items-center justify-between border-b border-border ${
className={`py-[11px] px-[15px] md:px-5 items-center justify-between border-b border-border ${
params.index || params.username ? '' : 'md:border-none'
}`}
>
Expand Down
2 changes: 1 addition & 1 deletion apps/site/components/server/channel/ChannelDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export async function ChannelDetails({ channel }: { channel: Channel }) {
const length = channel.adds?.items ? channel.adds?.items.length : 0

return (
<Stack className="py-8 md:ml-2">
<Stack className="py-8 md:ml-2 gap-y-[3px]">
{/* Number of items */}
<Typography className="text-secondary-foreground">
{pluralize(length, 'item', 'items')}
Expand Down

0 comments on commit 3bc7ed9

Please sign in to comment.