From de13dee166dccff45f0af2970805f91b6614df6c Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Fri, 27 Mar 2026 13:56:25 +0100 Subject: [PATCH] fix: add ellipsis on long article labels to prevent overflow on neighbor thumbnails --- resources/shop/css/site.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/shop/css/site.css b/resources/shop/css/site.css index 7979cc28..206a3240 100644 --- a/resources/shop/css/site.css +++ b/resources/shop/css/site.css @@ -445,6 +445,11 @@ div.megamenu ul.megamenu li.megamenu.level1 .shelve-article-label { height: 48px; + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; } /* -- Responsive: très petites résolutions (< 430px) -- */