mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 17:15:38 +08:00
fix: button color
This commit is contained in:
@@ -44,6 +44,7 @@ const WebUIItem = (props: Props) => {
|
|||||||
<IconButton
|
<IconButton
|
||||||
size="small"
|
size="small"
|
||||||
title="Save"
|
title="Save"
|
||||||
|
color="inherit"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
onChange(editValue);
|
onChange(editValue);
|
||||||
setEditing(false);
|
setEditing(false);
|
||||||
@@ -54,6 +55,7 @@ const WebUIItem = (props: Props) => {
|
|||||||
<IconButton
|
<IconButton
|
||||||
size="small"
|
size="small"
|
||||||
title="Cancel"
|
title="Cancel"
|
||||||
|
color="inherit"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
onCancel?.();
|
onCancel?.();
|
||||||
setEditing(false);
|
setEditing(false);
|
||||||
@@ -82,6 +84,7 @@ const WebUIItem = (props: Props) => {
|
|||||||
<IconButton
|
<IconButton
|
||||||
size="small"
|
size="small"
|
||||||
title="Open URL"
|
title="Open URL"
|
||||||
|
color="inherit"
|
||||||
onClick={() => onOpenUrl?.(value)}
|
onClick={() => onOpenUrl?.(value)}
|
||||||
>
|
>
|
||||||
<OpenInNewRounded fontSize="inherit" />
|
<OpenInNewRounded fontSize="inherit" />
|
||||||
@@ -89,6 +92,7 @@ const WebUIItem = (props: Props) => {
|
|||||||
<IconButton
|
<IconButton
|
||||||
size="small"
|
size="small"
|
||||||
title="Edit"
|
title="Edit"
|
||||||
|
color="inherit"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setEditing(true);
|
setEditing(true);
|
||||||
setEditValue(value);
|
setEditValue(value);
|
||||||
@@ -96,7 +100,12 @@ const WebUIItem = (props: Props) => {
|
|||||||
>
|
>
|
||||||
<EditRounded fontSize="inherit" />
|
<EditRounded fontSize="inherit" />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
<IconButton size="small" title="Delete" onClick={onDelete}>
|
<IconButton
|
||||||
|
size="small"
|
||||||
|
title="Delete"
|
||||||
|
color="inherit"
|
||||||
|
onClick={onDelete}
|
||||||
|
>
|
||||||
<DeleteRounded fontSize="inherit" />
|
<DeleteRounded fontSize="inherit" />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
Reference in New Issue
Block a user