Skip to content

Commit 910e7ec

Browse files
committed
fix: 디자인정리
1 parent c2dd443 commit 910e7ec

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/routes/__root.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const Route = createRootRoute({
88
function RootComponent() {
99
return (
1010
<OverlayProvider>
11-
<div className="bg-neutral-200 min-h-dvh max-w-[600px] mx-auto outline outline-1 outline-gray-200 -outline-offset-1">
11+
<div className="bg-neutral-200 min-h-dvh max-w-[600px] mx-auto">
1212
<Outlet />
1313
</div>
1414
</OverlayProvider>

src/routes/mission/-components/MissionHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default function MissionHeader() {
4646
};
4747

4848
return (
49-
<div className="py-4 px-4">
49+
<div className="sticky top-0 py-4 px-4 bg-neutral-500 h-[78px]">
5050
<div className="max-w-7xl mx-auto">
5151
<div className="flex justify-between items-center">
5252
<div className="flex items-center gap-3">

src/routes/mission/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ function Mission() {
176176
});
177177

178178
return (
179-
<div className="flex flex-col gap-4">
180-
<div className="flex justify-between items-center px-4">
179+
<div className="flex flex-col">
180+
<div className="flex justify-between sticky top-[78px] items-center px-4 bg-neutral-500 pb-4">
181181
<div id="mission-filters" className="flex gap-2">
182182
{(["all", "not_tried", "failed", "success"] as const).map((type) => (
183183
<button

0 commit comments

Comments
 (0)