Skip to content

Commit 0999b8c

Browse files
committed
styles(css): update padding-right
1 parent 5133f7a commit 0999b8c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default function RootLayout({ children }: LayoutProps) {
4343
return (
4444
<html className="scroll-smooth" lang="en">
4545
<body
46-
className={`${inter.className} min-h-screen antialiased relative overflow-x-hidden bg-black scrollbar:w-2 track:my-2 thumb:rounded thumb:bg-gray-100 has-[header.open]:scroll:bg-gray-300`}
46+
className={`${inter.className} max-w-dvw min-h-screen antialiased relative overflow-x-hidden bg-black scrollbar:w-2 track:my-2 thumb:rounded thumb:bg-gray-100 has-[header.open]:scroll:bg-gray-300`}
4747
>
4848
<Header />
4949
{children}

app/src/lib/@types/props.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,4 @@ export interface SectionLayoutProps extends PropsWithChildren {
9595

9696
export interface HeaderMenuProps {
9797
onLinkClick: MouseEventHandler
98-
}
98+
}

app/src/ui/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ It is generating errors to load animations styles
6969

7070
body:has(> header.open) {
7171
overflow-y: hidden;
72-
padding-right: 0.2rem;
72+
padding-right: 0.5rem;
7373
}
7474

7575
main {

0 commit comments

Comments
 (0)