forked from sk1982/actaeon
fix: dont use backdrop blur on firefox
This commit is contained in:
parent
c658d3496d
commit
890ca6dc2d
@ -86,7 +86,7 @@ const MusicGrid = ({ music, size, setMusicList, fullMusicList }: ChuniMusicListP
|
|||||||
<Link href={`/chuni/music/${item.songId}`}>
|
<Link href={`/chuni/music/${item.songId}`}>
|
||||||
<img src={getJacketUrl(`chuni/jacket/${item.jacketPath}`)} alt={item.title ?? 'Music'} className="rounded" />
|
<img src={getJacketUrl(`chuni/jacket/${item.jacketPath}`)} alt={item.title ?? 'Music'} className="rounded" />
|
||||||
</Link>
|
</Link>
|
||||||
{item.rating && !item.worldsEndTag && <div className={`${size === 'lg' ? 'text-2xl' : ''} absolute bottom-0.5 left-0.5 bg-gray-200/60 backdrop-blur-sm px-0.5 rounded`}>
|
{item.rating && !item.worldsEndTag && <div className={`${size === 'lg' ? 'text-2xl' : ''} absolute bottom-0.5 left-0.5 bg-gray-200/60 backdrop-blur-sm moz-no-backdrop-blur px-0.5 rounded`}>
|
||||||
<ChuniRating rating={+item.rating * 100} className="-my-0.5">
|
<ChuniRating rating={+item.rating * 100} className="-my-0.5">
|
||||||
{item.rating.slice(0, item.rating.indexOf('.') + 3)}
|
{item.rating.slice(0, item.rating.indexOf('.') + 3)}
|
||||||
</ChuniRating>
|
</ChuniRating>
|
||||||
|
@ -45,6 +45,11 @@ $header-height: 5.5rem;
|
|||||||
background-color: black;
|
background-color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@supports (-moz-appearance:none) {
|
||||||
|
.moz-no-backdrop-blur {
|
||||||
|
--tw-backdrop-blur: initial !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@layer base {
|
@layer base {
|
||||||
:root {
|
:root {
|
||||||
|
Loading…
Reference in New Issue
Block a user