Merge pull request #7 from KusaReMKN/banner

Fix aspect ratio of banners
This commit is contained in:
Sumire Isshiki 2024-05-11 21:42:07 +09:00 committed by GitHub
commit 5c814c257a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,8 +1,8 @@
import Marquee from "react-fast-marquee";
export default function Mutuals() {
const noImageBanner = `border border-4 border-fuchsia-300 bg-slate-200 pt-1.5 px-3 text-black h-12 font-bold block min-w-56 text-center text-2xl font-serif`
const globalBanner = `h-12 inline-block`
const noImageBanner = `border border-4 border-fuchsia-300 bg-slate-200 pt-1.5 px-3 text-black h-12 font-bold block min-w-32 text-center text-2xl font-serif`
const globalBanner = `h-12 w-auto inline-block`
return (
<Marquee