Skip to content

Commit d6798ac

Browse files
ricardoantoniocmluarmr
authored andcommitted
Sets 8/5 (16/10) aspect ratio and cover fit for template images.
1 parent 240c457 commit d6798ac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/themes/v2/source/css/styles.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1762,6 +1762,9 @@ details+details {
17621762
height: auto;
17631763
margin: calc(-1 * var(--padding)) calc(-1 * var(--padding)) 0.75em calc(-1 * var(--padding));
17641764
transition: border-radius 200ms;
1765+
aspect-ratio: 8 / 5;
1766+
object-fit: cover;
1767+
border-bottom: 1px solid var(--color-gray-300);
17651768
}
17661769

17671770
.templates-card p {

0 commit comments

Comments
 (0)