File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -506,6 +506,11 @@ a.followed {
506
506
a .active { color : #333 ; border-bottom : 1px dotted #ccc ; text-decoration : none ; }
507
507
a .popular.active { color : $red ; border-bottom-color : $red ;}
508
508
}
509
+ .topics-group :first-child {
510
+ @media (max-width : 991px ) {
511
+ .topic :last-child { border-bottom : 1px solid #F0F0F0 ; }
512
+ }
513
+ }
509
514
.topic {
510
515
min-height : 68px ;
511
516
border-bottom : 1px solid #F0F0F0 ;
Original file line number Diff line number Diff line change 49
49
<%
50
50
odd_topics , even_topics = @excellent_topics . partition . each_with_index { |t , i | i . odd? }
51
51
%>
52
- < div class ="col-md-6 ">
52
+ < div class ="col-md-6 topics-group ">
53
53
<% cache ( [ odd_topics , "odd" ] ) do %>
54
54
<%= render partial : "topics/topic" , collection : odd_topics , locals : { suggest : false } %>
55
55
<% end %>
56
56
</ div >
57
57
58
- < div class ="col-md-6 ">
58
+ < div class ="col-md-6 topics-group ">
59
59
<% cache ( [ even_topics , "even" ] ) do %>
60
60
<%= render partial : "topics/topic" , collection : even_topics , locals : { suggest : false } %>
61
61
<% end %>
You can’t perform that action at this time.
0 commit comments