From 2e9ebfb3a1b62e9d94b71cee10dbe2473d9aa6ae Mon Sep 17 00:00:00 2001 From: 2641a40fd44383320adde4b027a1d0b03bd550 <58827198+2641a40fd44383320adde4b027a1d0b03bd550@users.noreply.github.com> Date: Sun, 12 Feb 2023 09:13:53 +0500 Subject: [PATCH] Fix: Rounding - Logins and addons menu popup Fixes #614, fixes #619 --- css/leptonContent.css | 10 ++++++++++ src/contents/_rounding.scss | 12 ++++++++++++ 2 files changed, 22 insertions(+) diff --git a/css/leptonContent.css b/css/leptonContent.css index 892379b..d00c8bb 100644 --- a/css/leptonContent.css +++ b/css/leptonContent.css @@ -2843,6 +2843,16 @@ --panel-border-radius: 0 !important; } } + @-moz-document url-prefix("about:addons") { + panel-list { + border-radius: 0 !important; + } + } + @-moz-document url-prefix("about:logins") { + .menu { + border-radius: 0 !important; + } + } @-moz-document url("about:home"), url("about:newtab") { .context-menu { border-radius: 0 !important; diff --git a/src/contents/_rounding.scss b/src/contents/_rounding.scss index b577d6e..d1d6b5d 100644 --- a/src/contents/_rounding.scss +++ b/src/contents/_rounding.scss @@ -92,6 +92,18 @@ } } + @include moz-document(url-prefix "about:addons") { + panel-list { + border-radius: 0 !important; + } + } + + @include moz-document(url-prefix "about:logins") { + .menu { + border-radius: 0 !important; + } + } + @include moz-document(url "about:home", url "about:newtab") { .context-menu { border-radius: 0 !important;