This commit is contained in:
Marces Zastrow
2025-01-10 08:08:02 +01:00
parent e498ac886e
commit d3fc030c4c
4 changed files with 7 additions and 27 deletions
+4 -24
View File
@@ -185,7 +185,7 @@ const GamesPage = () => {
<EditIcon />
</IconButton>
</Box>
<Box sx={{ maxHeight: '200px', maxWidth: '850px', overflowY: 'auto', backgroundColor: '#2e2e3f', p: 2, borderRadius: '8px', border: '1px solid #444' }}>
<Box sx={{ height: '115px', maxWidth: '850px', overflowY: 'auto', backgroundColor: '#2e2e3f', p: 2, borderRadius: '8px', border: '1px solid #444' }}>
<Typography variant="body1" sx={{ color: '#fff' }}>{character.description}</Typography>
</Box>
</Box>
@@ -198,7 +198,7 @@ const GamesPage = () => {
spacing={2}
wrap="wrap"
sx={{
maxHeight: '340px', // Height for 2 rows (128px image + ~40px text) * 2 + spacing
height: '250px',
overflowY: 'auto',
'&::-webkit-scrollbar': {
width: '8px'
@@ -295,28 +295,8 @@ const GamesPage = () => {
/>
</DialogContent>
<DialogActions>
<Button
onClick={handleEditClose}
sx={{
color: '#fff',
'&:hover': {
backgroundColor: '#9865f7'
}
}}
>
Cancel
</Button>
<Button
onClick={handleSaveDescription}
sx={{
color: '#fff',
'&:hover': {
backgroundColor: '#9865f7'
}
}}
>
Save
</Button>
<Button onClick={handleEditClose}>Cancel</Button>
<Button onClick={handleSaveDescription}>Save</Button>
</DialogActions>
</Dialog>
</Box>