Compare commits
1 Commits
a5fe358313
...
99e6a456a7
| Author | SHA1 | Date | |
|---|---|---|---|
| 99e6a456a7 |
@@ -220,26 +220,27 @@ export function ProfileDecoration() {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
{/* Category grid */}
|
{/* Category grid */}
|
||||||
<Box
|
<div
|
||||||
direction="Column"
|
|
||||||
gap="300"
|
|
||||||
style={{
|
style={{
|
||||||
maxHeight: 480,
|
maxHeight: 480,
|
||||||
overflowY: 'auto',
|
overflowY: 'auto',
|
||||||
|
overflowX: 'hidden',
|
||||||
paddingRight: 4,
|
paddingRight: 4,
|
||||||
|
display: 'flex',
|
||||||
|
flexDirection: 'column',
|
||||||
|
gap: 24,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{DECORATION_CATEGORIES.map((category) => (
|
{DECORATION_CATEGORIES.map((category) => (
|
||||||
<Box key={category.id} direction="Column" gap="200">
|
<div key={category.id} style={{ display: 'flex', flexDirection: 'column', gap: 10 }}>
|
||||||
<Text size="L400" style={{ opacity: 0.7 }}>
|
<Text size="L400" style={{ opacity: 0.7 }}>
|
||||||
{category.label}
|
{category.label}
|
||||||
</Text>
|
</Text>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
display: 'flex',
|
display: 'grid',
|
||||||
flexWrap: 'wrap',
|
gridTemplateColumns: `repeat(auto-fill, ${CELL_SIZE}px)`,
|
||||||
gap: 16,
|
gap: 20,
|
||||||
padding: 4,
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{category.decorations.map((d) => (
|
{category.decorations.map((d) => (
|
||||||
@@ -252,9 +253,9 @@ export function ProfileDecoration() {
|
|||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</Box>
|
</div>
|
||||||
))}
|
))}
|
||||||
</Box>
|
</div>
|
||||||
</Box>
|
</Box>
|
||||||
</SettingTile>
|
</SettingTile>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user