+
This commit is contained in:
Binary file not shown.
@@ -23,11 +23,11 @@ function App() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<UserProvider>
|
<UserProvider>
|
||||||
<meta name="P&P Master" content="WoW. A description."/>
|
<meta name="P&P-Master" content="WoW. A description."/>
|
||||||
<Router>
|
<Router>
|
||||||
<div>
|
<div>
|
||||||
<Helmet>
|
<Helmet>
|
||||||
<title>DND Master</title>
|
<title>P&P-Master</title>
|
||||||
</Helmet>
|
</Helmet>
|
||||||
{popupMessage && <div className="popup">{popupMessage}</div>}
|
{popupMessage && <div className="popup">{popupMessage}</div>}
|
||||||
<Header isLoggedIn={isLoggedIn} />
|
<Header isLoggedIn={isLoggedIn} />
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ const GamesPage = () => {
|
|||||||
<EditIcon />
|
<EditIcon />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</Box>
|
</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>
|
<Typography variant="body1" sx={{ color: '#fff' }}>{character.description}</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
@@ -198,7 +198,7 @@ const GamesPage = () => {
|
|||||||
spacing={2}
|
spacing={2}
|
||||||
wrap="wrap"
|
wrap="wrap"
|
||||||
sx={{
|
sx={{
|
||||||
maxHeight: '340px', // Height for 2 rows (128px image + ~40px text) * 2 + spacing
|
height: '250px',
|
||||||
overflowY: 'auto',
|
overflowY: 'auto',
|
||||||
'&::-webkit-scrollbar': {
|
'&::-webkit-scrollbar': {
|
||||||
width: '8px'
|
width: '8px'
|
||||||
@@ -295,28 +295,8 @@ const GamesPage = () => {
|
|||||||
/>
|
/>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
<DialogActions>
|
<DialogActions>
|
||||||
<Button
|
<Button onClick={handleEditClose}>Cancel</Button>
|
||||||
onClick={handleEditClose}
|
<Button onClick={handleSaveDescription}>Save</Button>
|
||||||
sx={{
|
|
||||||
color: '#fff',
|
|
||||||
'&:hover': {
|
|
||||||
backgroundColor: '#9865f7'
|
|
||||||
}
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
Cancel
|
|
||||||
</Button>
|
|
||||||
<Button
|
|
||||||
onClick={handleSaveDescription}
|
|
||||||
sx={{
|
|
||||||
color: '#fff',
|
|
||||||
'&:hover': {
|
|
||||||
backgroundColor: '#9865f7'
|
|
||||||
}
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
Save
|
|
||||||
</Button>
|
|
||||||
</DialogActions>
|
</DialogActions>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ const Profile = () => {
|
|||||||
}, [userId]);
|
}, [userId]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Box sx={{ p: 3 }}>
|
<Box sx={{ p: 3, background: 'rgba(30, 30, 47, 0.9)', borderRadius: '8px', marginTop: '40px' }}>
|
||||||
<Typography variant="h4" sx={{ mb: 4, color: '#fff' }}>
|
<Typography variant="h4" sx={{ mb: 4, color: '#fff' }}>
|
||||||
Benutzerprofil: {username}
|
Benutzerprofil: {username}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
|||||||
Reference in New Issue
Block a user