From 08162fb9af3abac734c212bdd8447ba6d514ae59 Mon Sep 17 00:00:00 2001 From: InvalidUsernameException Date: Sat, 6 Sep 2025 17:33:56 +0200 Subject: [PATCH] LibWebView+Base: Remove unnecessary scrollbar from error pages I've been looking at the crash-page too much recently and the slight scrollbar caused by the padding has been annoying me. --- Base/res/ladybird/templates/error.html | 1 + Libraries/LibWebView/ViewImplementation.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Base/res/ladybird/templates/error.html b/Base/res/ladybird/templates/error.html index b6947b65e1c..86a5e41c356 100644 --- a/Base/res/ladybird/templates/error.html +++ b/Base/res/ladybird/templates/error.html @@ -14,6 +14,7 @@ align-items: center; justify-content: center; min-height: 100vh; + box-sizing: border-box; margin: 0; padding: 1rem; text-align: center; diff --git a/Libraries/LibWebView/ViewImplementation.cpp b/Libraries/LibWebView/ViewImplementation.cpp index e60b5f755b1..9c7af9df085 100644 --- a/Libraries/LibWebView/ViewImplementation.cpp +++ b/Libraries/LibWebView/ViewImplementation.cpp @@ -634,7 +634,7 @@ void ViewImplementation::handle_web_content_process_crash(LoadErrorPage load_err builder.append(""sv); builder.append("Error!