fix: tranbox ui

This commit is contained in:
Gabe Yuan
2024-04-16 11:25:04 +08:00
parent a13493ebc2
commit 148a4e97a6
7 changed files with 81 additions and 32 deletions

View File

@@ -8,7 +8,7 @@ export default function AudioBtn({ text, lan = "uk" }) {
if (error || !ready) {
return (
<IconButton disabled size="small">
<VolumeUpIcon />
<VolumeUpIcon fontSize="inherit" />
</IconButton>
);
}
@@ -16,14 +16,14 @@ export default function AudioBtn({ text, lan = "uk" }) {
if (playing) {
return (
<IconButton color="primary" size="small">
<VolumeUpIcon />
<VolumeUpIcon fontSize="inherit" />
</IconButton>
);
}
return (
<IconButton onClick={onPlay} size="small">
<VolumeUpIcon />
<VolumeUpIcon fontSize="inherit" />
</IconButton>
);
}