From 817dbc046ba04b82721c7436b976ac76f65cbd30 Mon Sep 17 00:00:00 2001 From: swaggboi Date: Fri, 11 Apr 2025 23:05:30 -0400 Subject: [PATCH] Tweak CSS class some more; add plain-text to by_page --- public/css/simple.css | 2 +- templates/remark/create.html.ep | 12 +++--------- templates/thread/by_page.html.ep | 8 ++++++++ 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/public/css/simple.css b/public/css/simple.css index 9647d4f..b9b117d 100644 --- a/public/css/simple.css +++ b/public/css/simple.css @@ -134,5 +134,5 @@ .plain-text { white-space: pre-wrap; display: inline-block; - margin-bottom: 1em; + margin: 1em 0; } diff --git a/templates/remark/create.html.ep b/templates/remark/create.html.ep index 1290a53..4e945f2 100644 --- a/templates/remark/create.html.ep +++ b/templates/remark/create.html.ep @@ -19,9 +19,7 @@ <% if ($draft->{'markdown'}) { =%> <%== markdown $draft->{'body'} =%> <% } else { =%> - - <%= $draft->{'body'} =%> - + <%= $draft->{'body'} =%> <% } =%> <% } =%> @@ -82,9 +80,7 @@
<%= $last_remark->{'author'} %>
- - <%= $last_remark->{'body'} =%> - + <%= $last_remark->{'body'} =%>