Bug 1624953 - Fix negative margin of menupopup scrollbuttons. r=ntim
authorDão Gottwald <dao@mozilla.com>
Wed, 25 Mar 2020 18:46:16 +0000
changeset 520422 25e29e4e41364fe532eec70e53bf139fb0751b21
parent 520421 59b5013d907ea710b07fb409a24d34fbac7eb060
child 520423 b3c3f7d0f044c92c774a6f2ec53385f3b3f2ee0c
push id37249
push userdvarga@mozilla.com
push dateWed, 25 Mar 2020 21:39:06 +0000
treeherdermozilla-central@b3c3f7d0f044 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersntim
bugs1624953
milestone76.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1624953 - Fix negative margin of menupopup scrollbuttons. r=ntim Differential Revision: https://phabricator.services.mozilla.com/D68243
toolkit/themes/osx/global/menu.css
--- a/toolkit/themes/osx/global/menu.css
+++ b/toolkit/themes/osx/global/menu.css
@@ -181,19 +181,19 @@ menuseparator {
    * "menuitem" appearance uses CGContextClearRect before drawing, which
    * clears everything under it.
    * Without help from native theming this effect wouldn't be achievable.
    */
   -moz-appearance: menuitem;
 }
 
 .popup-internal-box:not(:-moz-lwtheme)::part(scrollbutton-up) {
-  margin-bottom: -20px;
+  margin-bottom: -16px;
 }
 
 .popup-internal-box:not(:-moz-lwtheme)::part(scrollbutton-down) {
-  margin-top: -20px;
+  margin-top: -16px;
 }
 
 .popup-internal-box:not(:-moz-lwtheme)[scrolledtostart="true"]::part(scrollbutton-up),
 .popup-internal-box:not(:-moz-lwtheme)[scrolledtoend="true"]::part(scrollbutton-down) {
   visibility: collapse;
 }