-
Notifications
You must be signed in to change notification settings - Fork 0
[URECA-84] Hotfix: 모바일 레이아웃 적용 #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,12 +34,18 @@ export default function RootLayout({ children }: { children: ReactNode }) { | |
| gowunDodum.variable, | ||
| 'bg-[#FBF8FB]', | ||
| 'min-h-dvh', | ||
| 'flex', | ||
| 'flex-col', | ||
| 'items-center', | ||
| 'justify-center', | ||
| ].join(' ')} | ||
| > | ||
| <Providers> | ||
| {children} | ||
| <GlobalComponents /> | ||
| </Providers> | ||
| <div className="w-93.75"> | ||
| <Providers> | ||
| {children} | ||
| <GlobalComponents /> | ||
| </Providers> | ||
| </div> | ||
|
Comment on lines
+43
to
+48
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: # Find Tailwind configuration files
fd -e js -e ts -e mjs -e json "tailwind" --type fRepository: U-nify/Unity-client Length of output: 81 🏁 Script executed: # Search for any references to 93.75 or w-93.75 in the codebase
rg "93\.75|w-93\.75" -iRepository: U-nify/Unity-client Length of output: 115 🏁 Script executed: # Check the actual layout.tsx file around the specified lines
head -60 src/app/layout.tsx | tail -25Repository: U-nify/Unity-client Length of output: 596 🏁 Script executed: # Search for custom CSS or Tailwind theme configuration
fd -e css "globals|style|tailwind" --type f | head -20Repository: U-nify/Unity-client Length of output: 82 🏁 Script executed: cat -n tailwind.config.tsRepository: U-nify/Unity-client Length of output: 1301 🏁 Script executed: cat -n src/app/globals.cssRepository: U-nify/Unity-client Length of output: 2424
Tailwind CSS 설정( 375px 너비의 모바일 중심 컨테이너를 의도했다면: <div className="w-[375px] max-w-full">또는 더 나은 반응형 접근: <div className="w-full max-w-[375px]">추가로 검토할 사항:
🤖 Prompt for AI Agents |
||
| </body> | ||
| </html> | ||
| ); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
justify-center사용 시 레이아웃 문제 가능성 검토 필요flex-col과justify-center를body에 적용하면 콘텐츠가 수직 중앙 정렬됩니다. 이 경우 다음과 같은 문제가 발생할 수 있습니다:루트 레이아웃에서는 일반적으로 콘텐츠를 상단에서 시작하도록 하는 것이 안전합니다.
🛠️ 권장 수정안
'flex', 'flex-col', 'items-center', - 'justify-center', + 'justify-start',또는
justify-center를 완전히 제거하고 개별 페이지에서 필요 시 중앙 정렬을 적용하는 것을 권장합니다.📝 Committable suggestion
🤖 Prompt for AI Agents