adda
This commit is contained in:
parent
09829ee211
commit
35355d88af
|
@ -9,7 +9,7 @@ export default function Volume() {
|
|||
<>
|
||||
{/* 音量控制 */}
|
||||
<div className="group relative flex items-center">
|
||||
<button
|
||||
<div
|
||||
onClick={() => setIsMuted(!isMuted)}
|
||||
className="text-white hover:text-primaryHover">
|
||||
{isMuted ? (
|
||||
|
@ -17,7 +17,7 @@ export default function Volume() {
|
|||
) : (
|
||||
<SpeakerWaveIcon className="w-10 h-10" />
|
||||
)}
|
||||
</button>
|
||||
</div>
|
||||
<div className="absolute bottom-full left-1/2 -translate-x-1/2 mb-2 opacity-0 group-hover:opacity-100 transition-opacity duration-200">
|
||||
<div className="bg-black/80 rounded-lg p-2">
|
||||
<input
|
||||
|
|
Loading…
Reference in New Issue