Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/components/NavigationBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function NavigationBar({ activeTab = "홈", onTabChange, showToas
};

return (
<div className="fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 py-2 z-50">
<div className="fixed bottom-0 left-1/2 transform -translate-x-1/2 w-full max-w-md bg-white border-t border-gray-200 py-2 z-50">
<div className="flex justify-around items-center w-full max-w-sm mx-auto">
{tabs.map((tab) => (
<button
Expand Down
2 changes: 1 addition & 1 deletion app/components/ParentNavigationBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function ParentNavigationBar({ activeTab = "감정비교", onTabC
};

return (
<div className="w-full bg-white py-3 mt-auto">
<div className="w-full max-w-md mx-auto bg-white py-3 mt-auto">
<div className="flex justify-around items-center w-full max-w-sm mx-auto">
{tabs.map((tab) => (
<button
Expand Down