You've already forked baupm-core
added flex-box classes to columns
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
</div>
|
||||
<% end %>
|
||||
<div class="news-page flex">
|
||||
<div class="news-content">
|
||||
<div class="news-content flex-box">
|
||||
<h2><%= avatar(@news.author) %> <%=h @news.title %></h2>
|
||||
<p>
|
||||
<% unless @news.summary.blank? %><em><%= @news.summary %></em><br /><% end %>
|
||||
@@ -33,7 +33,7 @@
|
||||
<%= link_to_attachments @news %>
|
||||
</div>
|
||||
|
||||
<div id="comments" style="margin-bottom:16px;">
|
||||
<div id="comments" style="margin-bottom:16px;" class="flex-box">
|
||||
<h3 class="comments"><%= l(:label_comment_plural) %></h3>
|
||||
<% if @news.commentable? && @comments.size >= 3 %>
|
||||
<p><%= toggle_link l(:label_comment_add), "add_comment_form", :focus => "comment_comments", :scroll => "comment_comments" %></p>
|
||||
|
||||
Reference in New Issue
Block a user