Truly independent web browser
LibWebView: Align the "remove site" button in the site settings dialog
Timothy Flynn6e15b72efce4
diff --git a/Base/res/ladybird/about-pages/settings.html b/Base/res/ladybird/about-pages/settings.htmlindex 52f7853aa38..99f8109e89c 100644--- a/Base/res/ladybird/about-pages/settings.html+++ b/Base/res/ladybird/about-pages/settings.html@@ -321,6 +321,16 @@flex-grow: 1;}+ #site-settings .dialog-list-item {+ gap: 10px;+ }++ #site-settings .dialog-list-item .dialog-button svg {+ display: block;+ width: 16px;+ height: 16px;+ }+#force-dark-sites .dialog-list-item {gap: 16px;}diff --git a/Base/res/ladybird/about-pages/settings/permissions.js b/Base/res/ladybird/about-pages/settings/permissions.jsindex efddbedb18e..5c3d98a44db 100644--- a/Base/res/ladybird/about-pages/settings/permissions.js+++ b/Base/res/ladybird/about-pages/settings/permissions.js@@ -68,7 +68,8 @@ function showSiteSettings(title, settings) {const remove = document.createElement("button");remove.className = "dialog-button";- remove.innerHTML = "×";+ remove.innerHTML =+ '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M3 3l10 10M13 3L3 13" /></svg>';remove.title = `Remove ${site}`;remove.addEventListener("click", () => {