From bd3983bc9f5d6bcdb92613e13f51eec53179e3b8 Mon Sep 17 00:00:00 2001 From: jsimplicio Date: Wed, 16 Sep 2026 12:22:41 -0500 Subject: [PATCH] Set border-radius: 0 on the pdfFeaturesNotification message-bar icon container (bug 2071593) Zero out the start-side custom properties that control the icon container's border-radius for #pdfFeaturesNotification, and add them to the lint-mozcentral ignoreList. --- stylelint-mozcentral.json | 8 +++++++- web/viewer.css | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/stylelint-mozcentral.json b/stylelint-mozcentral.json index cc96a754d..77a81440d 100644 --- a/stylelint-mozcentral.json +++ b/stylelint-mozcentral.json @@ -6,7 +6,13 @@ "pdfjs/no-unused-custom-properties": [ true, { - "ignoreList": ["scale-round-x", "scale-round-y", "input-width"] + "ignoreList": [ + "scale-round-x", + "scale-round-y", + "input-width", + "message-bar-icon-container-border-radius-start-start", + "message-bar-icon-container-border-radius-end-start" + ] } ] } diff --git a/web/viewer.css b/web/viewer.css index 5a481970c..c576483dc 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -388,6 +388,8 @@ body { border-radius: 0; border-inline: none; border-block-start: none; + --message-bar-icon-container-border-radius-start-start: 0; + --message-bar-icon-container-border-radius-end-start: 0; font: message-box; font-size: var(--font-size-root);