fix: scale for medal bg

This commit is contained in:
Calum H. committed 2025-08-05 16:57:23 +01:00
1 parent b497c944a0
commit 54958491b3
2 files changed
+3 -2

No files matched your search

@@ -3,7 +3,7 @@
class="medal-promotion flex w-full flex-row items-center justify-between rounded-2xl p-4 shadow-xl"
>
<div class="overlay"></div>
<MedalPromoBackground class="background-pattern" />
<MedalPromoBackground class="background-pattern scale-[125%]" />
<div class="z-10 flex flex-col gap-1">
<div class="flex items-center gap-2 text-lg font-semibold text-contrast">
@@ -7,7 +7,7 @@
:data-pyro-server-listing-id="server_id"
>
<div class="overlay"></div>
<MedalPromoBackground class="background-pattern" />
<MedalPromoBackground class="background-pattern scale-[125%]" />
<NuxtLink
:to="status === 'suspended' ? '' : `/servers/manage/${props.server_id}`"
@@ -206,6 +206,7 @@ onUnmounted(() => {
position: relative;
border: 1px solid var(--medal-promotion-bg-orange);
background: inherit; // allows overlay + pattern to take over
overflow: hidden;
}
.overlay {