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

View File

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