mirror of
https://github.com/Nezumi-2711/onedrive-vercel-index.git
synced 2026-09-22 13:38:45 +00:00
Fix audio preview covers style when is not square
This commit is contained in:
@@ -66,7 +66,7 @@ const AudioPreview: FC<{ file: OdFileObject }> = ({ file }) => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{!brokenThumbnail ? (
|
{!brokenThumbnail ? (
|
||||||
<div className="absolute m-4 rounded-full shadow-lg">
|
<div className="absolute m-4 rounded-full shadow-lg aspect-square">
|
||||||
{/* eslint-disable-next-line @next/next/no-img-element */}
|
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||||
<img
|
<img
|
||||||
className={`h-full w-full rounded-full object-cover object-top ${
|
className={`h-full w-full rounded-full object-cover object-top ${
|
||||||
|
|||||||
Reference in New Issue
Block a user