Skip to content

Commit

Permalink
Fix placeholder changing height of the modal (#472)
Browse files Browse the repository at this point in the history
Fixes changing of modal's height when the placeholder is finally loaded
  • Loading branch information
jagodarybacka authored Oct 23, 2023
2 parents a285414 + 0a8e420 commit ce9a80e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ui/Island/RealmDetails/Placeholder/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
}
`}</style>
</>
)
Expand Down

0 comments on commit ce9a80e

Please sign in to comment.