mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:33:45 +08:00
style: adjust confirm dialog & web ui settings dialog (#821)
This commit is contained in:
parent
9610dcce20
commit
5f25e027c4
@ -29,7 +29,7 @@ export const ConfirmViewer = (props: Props) => {
|
|||||||
<Dialog open={open} onClose={onClose} maxWidth="xs" fullWidth>
|
<Dialog open={open} onClose={onClose} maxWidth="xs" fullWidth>
|
||||||
<DialogTitle>{t(title)}</DialogTitle>
|
<DialogTitle>{t(title)}</DialogTitle>
|
||||||
|
|
||||||
<DialogContent sx={{ width: "95%", pb: 1, userSelect: "text" }}>
|
<DialogContent sx={{ pb: 1, userSelect: "text" }}>
|
||||||
{t(message)}
|
{t(message)}
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
|
|
||||||
|
@ -90,6 +90,8 @@ export const WebUIItem = (props: Props) => {
|
|||||||
title={value}
|
title={value}
|
||||||
color={value ? "text.primary" : "text.secondary"}
|
color={value ? "text.primary" : "text.secondary"}
|
||||||
sx={({ palette }) => ({
|
sx={({ palette }) => ({
|
||||||
|
overflow: "hidden",
|
||||||
|
textOverflow: "ellipsis",
|
||||||
"> span": {
|
"> span": {
|
||||||
color: palette.primary.main,
|
color: palette.primary.main,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user