Skip to content

Commit

Permalink
chore: 헤더 반응형 스타일 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
ghdtjgus76 committed Aug 29, 2024
1 parent 3135e57 commit 3d6a0fa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions packages/ui/src/components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@ const headerContainerStyle = css({
borderBottomStyle: "solid",
display: "flex",
alignItems: "center",
justifyContent: "center",
});

const logoContainerStyle = css({
display: "flex",
gap: "8px",
width: "fit-content",
marginLeft: "225px",
width: "956px",
paddingX: "16px",
alignItems: "center",
});

Expand Down
2 changes: 2 additions & 0 deletions packages/ui/src/components/NavItem/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const NavItem = ({ href, imageUrl, alt, name, items }: NavItemProps) => {
aria-expanded={expanded ? "true" : "false"}
aria-haspopup={items?.length && items.length > 1 ? "true" : undefined}
href={`${href}`}
prefetch={true}
role="menuitem"
tabIndex={0}
className={navItemStyle({
Expand Down Expand Up @@ -93,6 +94,7 @@ const NavItem = ({ href, imageUrl, alt, name, items }: NavItemProps) => {
<Link
aria-label={item.name}
href={`${href}/${item.href}`}
prefetch={true}
role="menuitem"
style={{ padding: "11px 36px" }}
className={navItemStyle({
Expand Down
Loading

0 comments on commit 3d6a0fa

Please sign in to comment.