update: 单曲页面样式调整

main
fadeaway 8 months ago
parent f583a75707
commit db0e9d8e78

@ -12,7 +12,7 @@ export default function MusicBanner() {
}; };
return ( return (
<div <div
className="flex items-center w-full bg-[#1d1d1d] text-[#ffffffb2] text-[14px] py-[12px] px-[18px] rounded-[6px] mt-[4px]" className="flex items-center w-full bg-[#1d1d1d] text-[#ffffffb2] text-[14px] py-[12px] px-[18px] rounded-[6px] mt-[8px] mb-[8px]"
onClick={handleClick} onClick={handleClick}
> >
<ImageWithBasePath <ImageWithBasePath

@ -69,7 +69,7 @@ export default function MusicPanel() {
</div> </div>
)} )}
<div className={`w-full ${loading && 'invisible'}`}> <div className={`w-full ${loading && 'invisible'}`}>
<div className="relative w-[100%] aspect-square mt-[12px]"> <div className="relative w-[100%] aspect-square">
{musicInfo?.pic && ( {musicInfo?.pic && (
<Image className="rounded-[6px] object-cover" unoptimized fill src={musicInfo?.pic} alt="cover" /> <Image className="rounded-[6px] object-cover" unoptimized fill src={musicInfo?.pic} alt="cover" />
)} )}

Loading…
Cancel
Save