Skip to content

fix(fe): modify menubar to full width#3559

Draft
seoeun9 wants to merge 3 commits into
mainfrom
t2687-expand-menubar-width
Draft

fix(fe): modify menubar to full width#3559
seoeun9 wants to merge 3 commits into
mainfrom
t2687-expand-menubar-width

Conversation

@seoeun9
Copy link
Copy Markdown
Contributor

@seoeun9 seoeun9 commented May 12, 2026

Description

중단된 작업입니다.

Additional context


Before submitting the PR, please make sure you do the following

closes TAS-2687

@seoeun9 seoeun9 self-assigned this May 12, 2026
@seoeun9 seoeun9 added ⛳️ team-frontend preview 이 라벨이 붙어있어야 프론트엔드 Preview 환경이 생성됩니다 labels May 12, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adjusts the layout and padding of the Header component, specifically increasing the large-screen horizontal padding on the header and removing it from the inner container. The review feedback suggests adding 'top-0' to the fixed header to ensure it stays at the top of the viewport and using 'inset-x-0' for more concise styling. Additionally, it is recommended to remove redundant flexbox classes from the inner container to simplify the code and improve maintainability.

return (
<header className="backdrop-blur-xs fixed left-0 z-40 grid h-[60px] w-full place-items-center bg-white px-5 lg:bg-white/80 lg:px-[30px]">
<div className="flex w-full max-w-[1440px] items-center justify-between gap-5 lg:px-[116px]">
<header className="backdrop-blur-xs fixed left-0 z-40 grid h-[60px] w-full place-items-center bg-white px-5 lg:bg-white/80 lg:px-[45px]">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

fixed 포지션을 사용하는 헤더에 top-0 속성이 누락되어 있습니다. 브라우저 환경이나 다른 요소의 배치에 따라 헤더가 최상단에 고정되지 않을 수 있으므로, 명시적으로 top-0을 추가하는 것이 안전합니다. 또한 left-0 w-full 대신 inset-x-0을 사용하면 더 간결하게 표현할 수 있습니다.

Suggested change
<header className="backdrop-blur-xs fixed left-0 z-40 grid h-[60px] w-full place-items-center bg-white px-5 lg:bg-white/80 lg:px-[45px]">
<header className="backdrop-blur-xs fixed inset-x-0 top-0 z-40 grid h-[60px] w-full place-items-center bg-white px-5 lg:bg-white/80 lg:px-[45px]">

<header className="backdrop-blur-xs fixed left-0 z-40 grid h-[60px] w-full place-items-center bg-white px-5 lg:bg-white/80 lg:px-[30px]">
<div className="flex w-full max-w-[1440px] items-center justify-between gap-5 lg:px-[116px]">
<header className="backdrop-blur-xs fixed left-0 z-40 grid h-[60px] w-full place-items-center bg-white px-5 lg:bg-white/80 lg:px-[45px]">
<div className="flex w-full max-w-[1440px] items-center justify-between gap-5">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

div는 현재 19번 라인의 div 하나만을 자식으로 가지고 있습니다. 자식 요소가 w-full 클래스를 가지고 있어 부모의 전체 너비를 차지하므로, 부모인 이 div에 설정된 flex, items-center, justify-between, gap-5 클래스들은 실제 레이아웃에 영향을 주지 않는 중복 코드입니다. 상위 headergrid place-items-center가 이미 중앙 정렬을 수행하고 있으므로, 코드를 단순화하여 유지보수성을 높이는 것을 권장합니다.

Suggested change
<div className="flex w-full max-w-[1440px] items-center justify-between gap-5">
<div className="w-full max-w-[1440px]">

@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented May 12, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: a8242001b1a9eb525c338a99f37e162b411b1c33
Health Status: Healthy

Open Preview | View in Argo CD

@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented May 13, 2026

Syncing Preview App Failed

Application: frontend
Revision: 1b4d49e8191a77b87290187360aa5db06de82aa4
Health Status: Degraded

Open Preview | View in Argo CD

@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented May 13, 2026

Syncing Preview App Failed

Application: frontend
Revision: t2687-expand-menubar-width
Health Status: Healthy

Open Preview | View in Argo CD

@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented May 18, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: 4a2e8399c1612d07e6af55f4846b6957365f854c
Health Status: Healthy

Open Preview | View in Argo CD

@seoeun9 seoeun9 marked this pull request as draft May 23, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview 이 라벨이 붙어있어야 프론트엔드 Preview 환경이 생성됩니다 ⛳️ team-frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant