File tree 3 files changed +6
-2
lines changed 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
@import ' material' ;
2
2
@import ' bourbon' ;
3
3
4
+ .news section :not (:last-of-type ) {
5
+ margin-bottom : 16px ;
6
+ }
7
+
4
8
.section__featured-media {
5
9
background-size : cover ;
6
10
background-repeat : no-repeat ;
Original file line number Diff line number Diff line change 2
2
.mdl-cell.mdl-cell--4-col
3
3
= render 'partials/authentication/login_tabs'
4
4
- if @news_feed_posts
5
- .mdl-cell.mdl-cell--8-col
5
+ .mdl-cell.mdl-cell--8-col.news
6
6
= render 'partials/authentication/news'
Original file line number Diff line number Diff line change 1
1
- @news_feed_posts.each do |post|
2
- %section .section--center. mdl-grid.mdl-grid--no-spacing.mdl-shadow--2dp
2
+ %section .mdl-grid.mdl-grid--no-spacing.mdl-shadow--2dp
3
3
- if post.tile_media_id?
4
4
%header .section__featured-media.mdl-cell.mdl-cell--3-col-desktop.mdl-cell--2-col-tablet.mdl-cell--4-col-phone {style: "background-image: url(#{post.tile_media.url})"}
5
5
.mdl-card.mdl-cell.mdl-cell--9-col-desktop.mdl-cell--6-col-tablet.mdl-cell--4-col-phone
You can’t perform that action at this time.
0 commit comments