Еще немного стиля

This commit is contained in:
Dhaverd 2026-05-11 23:18:24 +08:00
parent 02d723cc0b
commit b4652faa97
3 changed files with 41 additions and 19 deletions

View File

@ -95,7 +95,12 @@ const customTheme = (outerTheme: Theme) =>
backgroundColor: '#282c34', backgroundColor: '#282c34',
color: 'var(--TextField-brandBorderColor)', color: 'var(--TextField-brandBorderColor)',
width: '90%', width: '90%',
maxWidth: '90%!important' maxWidth: '90%!important',
'@media (width <= 570px)': {
maxWidth: '95%!important',
width: '95%',
margin: '5px'
},
} }
} }
}, },

View File

@ -71,6 +71,32 @@
margin-top: 10px; margin-top: 10px;
} }
.report-comment:hover {
background-color: #383d49;
cursor: default;
}
.report-nickname:hover {
background-color: #383d49;
cursor: default;
}
.report-content-header {
font-weight: bold;
}
.report-title-header {
display: flex;
justify-content: space-between;
}
.report-dialog-actions {
width: 100%;
display: flex;
justify-content: space-around
}
@media (width <= 570px) { @media (width <= 570px) {
.report-tag-list { .report-tag-list {
@ -93,23 +119,14 @@
color: var(--tag-color-very-bad); color: var(--tag-color-very-bad);
} }
} }
}
.report-comment:hover { .dialog-window {
background-color: #383d49; max-width: 95%;
cursor: default; width: 95%;
} margin: 5px;
}
.report-nickname:hover { .report-dialog-actions {
background-color: #383d49; margin-top: 15px;
cursor: default; }
}
.report-content-header {
font-weight: bold;
}
.report-title-header {
display: flex;
justify-content: space-between;
} }

View File

@ -145,7 +145,7 @@ export default function ReportDialog({ open, handleClose }: { open: boolean, han
label="Smurf" label="Smurf"
/> />
</div> </div>
<div style={{width: '100%', display: 'flex', justifyContent: 'space-around'}}> <div className="report-dialog-actions" style={{}}>
<Button loading={loading} onClick={() => handleSend()} variant="contained">Send</Button> <Button loading={loading} onClick={() => handleSend()} variant="contained">Send</Button>
<Button onClick={() => handleClose()} variant="outlined">Cancel</Button> <Button onClick={() => handleClose()} variant="outlined">Cancel</Button>
</div> </div>