We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b91f6f commit 82cb373Copy full SHA for 82cb373
src/app/Layout/RootLayout.tsx
@@ -5,8 +5,10 @@ import styled from "@emotion/styled";
5
import HomeFilter from "../../components/Filter/HomeFilter";
6
import SwapFilter from "../../components/Filter/SwapFilter";
7
8
+// 라벨: RootLayout-ScrollArea (css-19qyp3z로 생성되는 외부 컨테이너)
9
const ScrollArea = styled.div`
10
max-width: 390px;
11
+ width: 100%;
12
margin: 0 auto;
13
flex: 1;
14
min-height: 0; /* flex 축소 문제 해결 */
@@ -82,7 +84,10 @@ function RootLayout() {
82
84
}
83
85
filterComponent={filterComponent}
86
/>
- <ScrollArea hasGNB={!isProductDetailPage}>
87
+ <ScrollArea
88
+ hasGNB={!isProductDetailPage}
89
+ data-label="RootLayout-ScrollArea"
90
+ >
91
<Outlet />
92
</ScrollArea>
93
{!isProductDetailPage && <GNB />}
0 commit comments