fix: icon style

This commit is contained in:
GyDi 2022-08-06 01:44:33 +08:00
parent 60f6587169
commit bf0dafabe2
No known key found for this signature in database
GPG Key ID: 1C95E0D3467B3084
4 changed files with 12 additions and 3 deletions

View File

@ -68,7 +68,11 @@ const ConfigViewer = () => {
</DialogActions> </DialogActions>
</Dialog> </Dialog>
<InfoRounded fontSize="small" onClick={() => setOpen(true)} /> <InfoRounded
fontSize="small"
style={{ cursor: "pointer", opacity: 0.75 }}
onClick={() => setOpen(true)}
/>
</> </>
); );
}; };

View File

@ -41,7 +41,7 @@ const CoreSwitch = () => {
<> <>
<Settings <Settings
fontSize="small" fontSize="small"
style={{ cursor: "pointer" }} style={{ cursor: "pointer", opacity: 0.75 }}
onClick={(event) => { onClick={(event) => {
const { clientX, clientY } = event; const { clientX, clientY } = event;
setPosition({ top: clientY, left: clientX }); setPosition({ top: clientY, left: clientX });

View File

@ -90,6 +90,7 @@ const SettingSystem = ({ onError }: Props) => {
serviceStatus === "installed") && ( serviceStatus === "installed") && (
<PrivacyTipRounded <PrivacyTipRounded
fontSize="small" fontSize="small"
style={{ cursor: "pointer", opacity: 0.75 }}
onClick={() => setServiceOpen(true)} onClick={() => setServiceOpen(true)}
/> />
)} )}

View File

@ -43,7 +43,11 @@ const SysproxyTooltip = () => {
title={showTitle} title={showTitle}
arrow arrow
> >
<InfoRounded fontSize="small" onClick={onShow} /> <InfoRounded
fontSize="small"
style={{ cursor: "pointer", opacity: 0.75 }}
onClick={onShow}
/>
</Tooltip> </Tooltip>
</ClickAwayListener> </ClickAwayListener>
); );