Skip to content

Commit

Permalink
Merge pull request #2255 from alphagov/fix-related-links-position
Browse files Browse the repository at this point in the history
Correctly position "Latest" block on service priority org pages
  • Loading branch information
fofr committed Jul 3, 2015
2 parents 7c2f6b6 + bde9dc1 commit c40f66f
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions app/assets/stylesheets/frontend/helpers/_organisation-news.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,66 +5,81 @@
.content {
padding: $gutter-half 0 $gutter-one-third 0;
@extend %contain-floats;

.image-holder {
width: $full-width;
@include media(tablet){
@include media(tablet) {
width: $two-thirds;
float: left;
}

.img {
padding: 0 $gutter-half;
}
}

.text {
width: $full-width;
.meta, h2, .summary {

h2,
.meta,
.summary {
padding: 0 $gutter-half;
}
@include media(tablet){

@include media(tablet) {
width: $one-third;
float: left;

.meta, h2, .summary {
padding-left: $gutter-half;
}

.meta {
padding-top: 0;
}
}

h2 {
@include ig-core-24;
}

.summary {
@include ig-core-19;
}
}
}
}

&.item-3 {
clear: both;
}
}

&.items-1,
&.items-4 {
.recently-updated {
@include media(tablet){
@include media(tablet) {
clear: both;
width: $two-thirds;
}
}
}

&.items-2 {
@extend %contain-floats;
}
@include media(tablet){
&.with-featured-services-and-guidance {

@include media(tablet) {
&.with-featured-links {
&.items-1,
&.items-4 {
.recently-updated {
clear: none;
width: $one-third;
}
}

&.items-3,
&.items-6 {
.recently-updated {
Expand Down

0 comments on commit c40f66f

Please sign in to comment.