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