From 8a60903a0580b10851898caddcdf4e38b538b74a Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Sun, 17 Sep 2023 01:33:14 +0900 Subject: [PATCH] Fix: Rounding - PIP button #645 --- css/leptonContent.css | 3 +++ css/leptonContentESR.css | 3 +++ src/contents/_rounding.scss | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/css/leptonContent.css b/css/leptonContent.css index 496ed4b..b38e88f 100644 --- a/css/leptonContent.css +++ b/css/leptonContent.css @@ -2958,6 +2958,9 @@ } /** Rounding ******************************************************************/ @supports -moz-bool-pref("userChrome.rounding.square_button") { + #pictureInPictureToggle > .pip-small { + border-radius: 0 !important; + } @-moz-document url-prefix("about:"), regexp("^chrome://\\w+/content/.*.xhtml$") { button:not(.toggle-button), diff --git a/css/leptonContentESR.css b/css/leptonContentESR.css index 33cc62a..bf6197c 100644 --- a/css/leptonContentESR.css +++ b/css/leptonContentESR.css @@ -2961,6 +2961,9 @@ } /** Rounding ******************************************************************/ @supports -moz-bool-pref("userChrome.rounding.square_button") { + #pictureInPictureToggle > .pip-small { + border-radius: 0 !important; + } @-moz-document url-prefix("about:"), regexp("^chrome://\\w+/content/.*.xhtml$") { button:not(.toggle-button), diff --git a/src/contents/_rounding.scss b/src/contents/_rounding.scss index b6de0a6..7074c3c 100644 --- a/src/contents/_rounding.scss +++ b/src/contents/_rounding.scss @@ -1,4 +1,8 @@ @include Option("userChrome.rounding.square_button") { + #pictureInPictureToggle > .pip-small { + border-radius: 0 !important; + } + @include moz-document( url-prefix "about:", regexp "^chrome:\/\/\\w+\/content\/.*\.xhtml$"