From f291de4dce1b9193b4a0a13b2304e508fafe0a4d Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Thu, 6 Nov 2025 13:16:11 -0600 Subject: [PATCH] Add syntax highlighting to public description --- app/assets/stylesheets/cards.css | 4 ++++ app/views/public/boards/show.html.erb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/cards.css b/app/assets/stylesheets/cards.css index 2b61ac4ce..8b62d9e93 100644 --- a/app/assets/stylesheets/cards.css +++ b/app/assets/stylesheets/cards.css @@ -498,5 +498,9 @@ margin-inline: auto; text-align: start; } + + code { + text-align: left; + } } } diff --git a/app/views/public/boards/show.html.erb b/app/views/public/boards/show.html.erb index 0436f00cb..ae5b75912 100644 --- a/app/views/public/boards/show.html.erb +++ b/app/views/public/boards/show.html.erb @@ -19,7 +19,7 @@ <% end %> <% if @board.public_description.present? %> -
+
<%= @board.public_description %>
<% end %>