Skip to content

fix(fe): course/admin/[courseId] Tab central arrangement problem#3650

Open
HajunPark-skku wants to merge 5 commits into
mainfrom
t2786-align-admin-course-courseidtab-center
Open

fix(fe): course/admin/[courseId] Tab central arrangement problem#3650
HajunPark-skku wants to merge 5 commits into
mainfrom
t2786-align-admin-course-courseidtab-center

Conversation

@HajunPark-skku

Copy link
Copy Markdown
Contributor

Description

프로필을 누르고 강의에 들어가면 관리 → 강좌 →홈 / 멤버 / 과제 ... 등등. 탭 형식으로 되어 있다.화면을 크게 늘리면 탭이 중앙이 아닌 왼쪽으로 정렬되는데, 이를 양쪽으로 고르게 퍼지도록 수정하였다.

Additional context


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

Closes TAS-2786

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

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.

Code Review

This pull request prevents the default event behavior on the admin data table's delete button click and adjusts the layout alignment of the course detail navigation tabs. The reviewer recommended using justify-center instead of justify-between for the navigation tabs to maintain proper visual grouping on larger screens.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

<div className="mx-auto my-10 w-full">
<div className="w-full">
<nav className="flex w-full justify-start border-b border-gray-200">
<nav className="flex w-full justify-between border-b border-gray-200">

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

Using justify-between on a full-width container (w-full) where the child tabs have a fixed width (w-[285.5px]) will cause the tabs to spread far apart on large screens, leaving large empty gaps between them. This breaks the visual grouping of the navigation bar. Since the PR title indicates a 'central arrangement' issue, using justify-center is a much better approach to keep the tabs grouped together in the center of the screen on all resolutions.

Suggested change
<nav className="flex w-full justify-between border-b border-gray-200">
<nav className="flex w-full justify-center border-b border-gray-200">

@egg-zz egg-zz added preview 이 라벨이 붙어있어야 프론트엔드 Preview 환경이 생성됩니다 ⛳️ team-frontend and removed preview 이 라벨이 붙어있어야 프론트엔드 Preview 환경이 생성됩니다 labels Jul 21, 2026
@egg-zz

egg-zz commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

apps/frontend/app/admin/course/[courseId]/layout.tsx에서 충돌났다는데 확인 한 번 해주세요~

@skkuding-bot

skkuding-bot Bot commented Jul 21, 2026

Copy link
Copy Markdown

Syncing Preview App Failed

Application: frontend
Revision: c4f6377564050a9dfe9d1b44847179b03b6b8b33
Health Status: Degraded

Open Preview | View in Argo CD

@skkuding-bot

skkuding-bot Bot commented Jul 23, 2026

Copy link
Copy Markdown

Syncing Preview App Succeeded

Application: frontend
Revision: 775da8567ad94bc6d2f1408b414daa9a2765455c
Health Status: Healthy

Open Preview | View in Argo CD

@HajunPark-skku

Copy link
Copy Markdown
Contributor Author

apps/frontend/app/admin/course/[courseId]/layout.tsx에서 충돌났다는데 확인 한 번 해주세요~

충돌원인: main의 2701d66 커밋이 [courseId]/layout.tsx를 (overview)/layout.tsx로 이동시키면서 옛 경로 파일을 삭제 → 우리 브랜치는 옛 경로를 수정한 상태라 modify/delete 충돌 발생한것으로 보입니다!

해결: git merge origin/main 실행 → git이 rename을 자동 인식해서 충돌 없이 최근 수정사항(flex-1, justify-between 제거)을 새 경로 (overview)/layout.tsx에 그대로 이식할 수 있도록 조치했습니다

확인 부탁드립니다~

@egg-zz egg-zz added preview 이 라벨이 붙어있어야 프론트엔드 Preview 환경이 생성됩니다 and removed preview 이 라벨이 붙어있어야 프론트엔드 Preview 환경이 생성됩니다 labels Jul 23, 2026
@skkuding-bot

skkuding-bot Bot commented Jul 23, 2026

Copy link
Copy Markdown

Syncing Preview App Succeeded

Application: frontend
Revision: 775da8567ad94bc6d2f1408b414daa9a2765455c
Health Status: Healthy

Open Preview | View in Argo CD

@egg-zz egg-zz left a comment

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.

수고하셨습니다~

@seoeun9 seoeun9 left a comment

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.

굿굿 lgtm!

@egg-zz
egg-zz enabled auto-merge July 23, 2026 08:14
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.

3 participants