1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-14 17:15:18 +01:00

fix featured layout

This commit is contained in:
Matthias Kretschmann 2017-09-21 14:41:38 +02:00
parent c54ba14291
commit 274e6ba84a
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 6 additions and 2 deletions

View File

@ -6,7 +6,7 @@
.featured
@extend .breakoutviewport
padding-bottom: ($spacer*2)
padding-bottom: $spacer
.grid
margin-bottom: 0
@ -15,6 +15,8 @@
padding-bottom: ($spacer*3)
.hentry__teaser
max-width: 100%;
@media $screen-xs
margin-left: 0
margin-right: 0

View File

@ -77,7 +77,6 @@
/////////////////////////////////////
.hentry__teaser
@extend .breakoutviewport
max-width: none
display: block
margin-top: ($spacer*1.5)
@ -90,6 +89,9 @@
@media $screen-sm
border-radius: $border-radius-base
&:not(.featured .hentry__teaser)
@extend .breakoutviewport
.hentry__teaser--link
&:hover,
&:focus