From 66c93b5288c5f1b7df7d949b7ab37c49e9fcf5b8 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Thu, 11 Jun 2026 07:14:06 -0400 Subject: [PATCH] LibWebView: Elide overflowed title text on about:history If the title was one long string without any whitespace, it would have previously "escaped" its content box. --- Base/res/ladybird/about-pages/history.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Base/res/ladybird/about-pages/history.html b/Base/res/ladybird/about-pages/history.html index a61b5d9b4f..6be6e9db4f 100644 --- a/Base/res/ladybird/about-pages/history.html +++ b/Base/res/ladybird/about-pages/history.html @@ -115,12 +115,19 @@ .entry-text { display: flex; flex-direction: column; + flex: 1; gap: 4px; min-width: 0; + width: 100%; } .entry-title { color: inherit; + display: block; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + font-size: 14px; font-weight: 600; text-decoration: none; @@ -184,11 +191,6 @@ .entry-meta { text-align: left; } - - .entry-actions { - width: 100%; - justify-content: flex-end; - } } @@ -427,6 +429,7 @@ className: "entry-title", href: entry.url, textContent: title, + title, }), createElement("div", { className: "entry-url",