From 0a8e420a8afa0cba9f6ebfd2f79a5da4aeeef543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Paczy=C5=84ski?= Date: Mon, 23 Oct 2023 15:01:59 +0200 Subject: [PATCH] Fix placeholder changing height of the modal --- src/ui/Island/RealmDetails/Placeholder/index.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ui/Island/RealmDetails/Placeholder/index.tsx b/src/ui/Island/RealmDetails/Placeholder/index.tsx index 43bef338c..111a0a194 100644 --- a/src/ui/Island/RealmDetails/Placeholder/index.tsx +++ b/src/ui/Island/RealmDetails/Placeholder/index.tsx @@ -24,6 +24,7 @@ export default function RealmDetailsPlaceholder({ margin: 24px 0; border-radius: 24px; background: var(--primary-p1-40); + height: 373px; } .placeholder_title { position: absolute; @@ -34,6 +35,11 @@ export default function RealmDetailsPlaceholder({ letter-spacing: 0.84px; white-space: pre-wrap; } + .placeholder_image { + width: 100%; + height: 100%; + object-fit: contain; + } `} )