From 38920de3910705dac42af2370da7b3ba504577a9 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 24 Jul 2026 04:15:32 +0200 Subject: Prevent the more … link from line breaking MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/custom/partials/_article.html.erb | 2 +- public/stylesheets/ccc.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/custom/partials/_article.html.erb b/app/views/custom/partials/_article.html.erb index 2a76bdcc..20688f40 100644 --- a/app/views/custom/partials/_article.html.erb +++ b/app/views/custom/partials/_article.html.erb @@ -9,6 +9,6 @@ <%= link_to_path image_tag(headline.upload.url(:medium), :alt => ""), page.node.unique_name %> <% end %> -

<%= page.abstract %> <%= link_to_path t(:more), page.node.unique_name %>

+

<%= page.abstract %> <%= link_to_path t(:more), page.node.unique_name %>

diff --git a/public/stylesheets/ccc.css b/public/stylesheets/ccc.css index 79f2ea2f..faa9c18d 100644 --- a/public/stylesheets/ccc.css +++ b/public/stylesheets/ccc.css @@ -112,6 +112,10 @@ dd { display: none; } +.no_break { + white-space: nowrap +} + /* ========================================================================== 3. COLOR SCHEME & LIGHT/DARK TOGGLE ========================================================================== -- cgit v1.3