diff --git a/browser/themes/shared/incontentprefs/preferences.inc.css b/browser/themes/shared/incontentprefs/preferences.inc.css index 16283cd149ec..f3b542af1083 100644 --- a/browser/themes/shared/incontentprefs/preferences.inc.css +++ b/browser/themes/shared/incontentprefs/preferences.inc.css @@ -611,16 +611,14 @@ button > hbox > label { position: fixed; left: 0; bottom: 36px; - background-image: url("chrome://global/skin/icons/help.svg"); + background-image: none; -moz-context-properties: fill, fill-opacity; fill: currentColor; line-height: 22px; height: unset; min-height: 36px; width: 168px; - background-position: left 10px center; - background-size: 16px; - padding-inline-start: 38px; + padding-inline-start: 18px; margin-inline-start: 34px; } @@ -641,6 +639,28 @@ button > hbox > label { border-radius: 2px; } +.help-icon { + width: 16px; + height: 16px; +} + +.help-label { + margin: 0 14px; +} + +@media (max-width: 830px) { + .help-button { + width: 36px; + padding: 0; + justify-content: center; + margin-inline-start: 40px; + } + + .help-label { + display: none; + } +} + .face-sad { list-style-image: url("chrome://browser/skin/preferences/in-content/face-sad.svg"); width: 20px; diff --git a/toolkit/themes/shared/in-content/common.inc.css b/toolkit/themes/shared/in-content/common.inc.css index a412b22ab1be..219808399d03 100644 --- a/toolkit/themes/shared/in-content/common.inc.css +++ b/toolkit/themes/shared/in-content/common.inc.css @@ -692,7 +692,6 @@ xul|*.radio-label-box { *|*#categories[keyboard-navigation="true"]:-moz-focusring > *|*.category[current] { border: var(--in-content-category-border-focus); - border-inline-start: none; } *|*.category-name { @@ -729,14 +728,6 @@ xul|*.radio-label-box { margin-inline-end: 35px; } - .help-button { - font-size: 0 !important; - margin-inline-start: 41px !important; /* make the question mark icon align center */ - background-position: 10px !important; - padding-inline-start: 0px !important; - width: 36px !important; - } - .main-content { padding-left: 0; padding-right: 0;