fix(SW-1143) improvements on Skeleton

This commit is contained in:
Pontus Dreij
2024-12-10 11:49:31 +01:00
parent 22a5edc2d7
commit 71685c24f4
2 changed files with 8 additions and 2 deletions

View File

@@ -45,7 +45,9 @@
}
.text {
display: block;
gap: 10px;
display: flex;
flex-direction: column;
}
.card {
@@ -55,4 +57,7 @@
width: 315px;
height: 100%;
}
.priceVariants {
max-width: 260px;
}
}

View File

@@ -19,7 +19,7 @@ export function HotelCardSkeleton() {
<SkeletonShimmer height={"20px"} />
</div>
<SkeletonShimmer height={"56px"} />
<SkeletonShimmer height={"52px"} />
<SkeletonShimmer height={"52px"} width={"150px"} />
</div>
<div className={styles.priceVariants}>
@@ -27,6 +27,7 @@ export function HotelCardSkeleton() {
{Array.from({ length: 2 }).map((_, index) => (
<SkeletonShimmer key={index} height={"100px"} />
))}
<SkeletonShimmer height={"40px"} />
</div>
</article>
)