Skip to content

Commit c293d30

Browse files
committed
fix: navbar padding extrapolating max width (box-sizing: content-box)
1 parent 9cffb55 commit c293d30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/frontend/src/modules/shared/components/layout

apps/frontend/src/modules/shared/components/layout/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export async function Header() {
3333
return (
3434
<header className='fixed w-[calc(100vw_-_16px)] h-14 flex flex-row justify-center items-center bg-zinc-900 border-b border-zinc-700 py-2 z-10'>
3535
{/* Navbar */}
36-
<nav className='w-full flex flex-row justify-between items-center gap-8 md:gap-12 max-w-screen-xl px-6 sm:px-10 overflow-x-auto box-content [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden'>
36+
<nav className='w-full flex flex-row justify-between items-center gap-8 md:gap-12 max-w-screen-xl px-6 sm:px-10 overflow-x-auto [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden'>
3737
{/* Icon */}
3838
<div className='flex-0 flex justify-start lg:justify-center min-w-fit'>
3939
<Link href='/'>

0 commit comments

Comments
 (0)