fix tile layout for large screens

This commit is contained in:
Sean Yesmunt 2020-05-28 13:28:40 -04:00
parent 85ec35f246
commit 252ca6f5a0

View file

@ -312,7 +312,10 @@
}
.claim-preview--tile {
$width: calc((100vw - var(--side-nav-width) - (var(--spacing-large) * 4) - var(--spacing-medium) * 3) / 4);
$width: calc(
(min(var(--page-max-width), 100vw) - var(--side-nav-width) - (var(--spacing-large) * 4) - var(--spacing-medium) * 3) /
4
);
width: $width;
@include handleClaimTileGifThumbnail($width);