summaryrefslogtreecommitdiffstats
path: root/browser/components/shopping
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
commit086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch)
treea4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /browser/components/shopping
parentAdding debian version 124.0.1-1. (diff)
downloadfirefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz
firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/shopping')
-rw-r--r--browser/components/shopping/content/letter-grade.css2
-rw-r--r--browser/components/shopping/content/shopping-container.css2
-rw-r--r--browser/components/shopping/content/shopping-sidebar.js2
3 files changed, 2 insertions, 4 deletions
diff --git a/browser/components/shopping/content/letter-grade.css b/browser/components/shopping/content/letter-grade.css
index 75be411151..bf37e62a6a 100644
--- a/browser/components/shopping/content/letter-grade.css
+++ b/browser/components/shopping/content/letter-grade.css
@@ -68,7 +68,7 @@
box-sizing: border-box;
display: flex;
font-size: 0.87rem;
- font-weight: var(--font-weight-default);
+ font-weight: var(--font-weight);
margin: 0;
padding: 0.125rem 0.5rem;
}
diff --git a/browser/components/shopping/content/shopping-container.css b/browser/components/shopping/content/shopping-container.css
index 6ac09964bf..709a53ac8b 100644
--- a/browser/components/shopping/content/shopping-container.css
+++ b/browser/components/shopping/content/shopping-container.css
@@ -47,7 +47,7 @@
#beta-marker {
font-size: var(--font-size-small);
- font-weight: var(--font-weight-default);
+ font-weight: var(--font-weight);
padding: 2px 4px;
margin: 0;
line-height: 150%;
diff --git a/browser/components/shopping/content/shopping-sidebar.js b/browser/components/shopping/content/shopping-sidebar.js
index 6873682ae6..09c6015bec 100644
--- a/browser/components/shopping/content/shopping-sidebar.js
+++ b/browser/components/shopping/content/shopping-sidebar.js
@@ -10,7 +10,6 @@
const SHOPPING_SIDEBAR_WIDTH_PREF =
"browser.shopping.experience2023.sidebarWidth";
class ShoppingSidebar extends MozXULElement {
- #browser;
#initialized;
static get markup() {
@@ -46,7 +45,6 @@
}
this.resizeObserverFn = this.resizeObserverFn.bind(this);
this.appendChild(this.constructor.fragment);
- this.#browser = this.querySelector(".shopping-sidebar");
let previousWidth = Services.prefs.getIntPref(
SHOPPING_SIDEBAR_WIDTH_PREF,