From 6af658b0190e47e3568f6d86bd8c154835ec3bee Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Wed, 23 Mar 2016 16:33:47 -0400 Subject: [PATCH] Apply rounded corners to all teaser images --- assets/_scss/_archive.scss | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/assets/_scss/_archive.scss b/assets/_scss/_archive.scss index 464e9ccd..6f350836 100644 --- a/assets/_scss/_archive.scss +++ b/assets/_scss/_archive.scss @@ -44,6 +44,14 @@ } } +.archive__item-teaser { + border-radius: $border-radius; + overflow: hidden; + img { + width: 100%; + } +} + a:hover { .archive__item-teaser { box-shadow: 0 0 10px rgba(#000, 0.25); @@ -93,18 +101,10 @@ a:hover { display: none; } - .archive__item-teaser { - border-radius: $border-radius; - img { - width: 100%; - } - } - @include breakpoint($small) { @include gallery(5 of 10); .archive__item-teaser { max-height: 200px; - overflow: hidden; } }