From db721ea1d8426f6134e906da9eb14764cf9f67a8 Mon Sep 17 00:00:00 2001 From: magdev Date: Sun, 3 Dec 2023 11:53:02 +0100 Subject: [PATCH] added flex-box classes to columns --- app/views/news/show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/news/show.html.erb b/app/views/news/show.html.erb index b353387..a10c3cd 100644 --- a/app/views/news/show.html.erb +++ b/app/views/news/show.html.erb @@ -21,7 +21,7 @@ <% end %>
-
+

<%= avatar(@news.author) %> <%=h @news.title %>

<% unless @news.summary.blank? %><%= @news.summary %>
<% end %> @@ -33,7 +33,7 @@ <%= link_to_attachments @news %>

-
+

<%= l(:label_comment_plural) %>

<% if @news.commentable? && @comments.size >= 3 %>

<%= toggle_link l(:label_comment_add), "add_comment_form", :focus => "comment_comments", :scroll => "comment_comments" %>