commit e2a4ccbdd91d64aba8576c87f795eeff5c2e92d5
parent e3ee3e5f9ece86a30be9c71ffb332a47cd01c594
Author: scottdowne <sdowne@mozilla.com>
Date: Mon, 6 Oct 2025 20:01:57 +0000
Bug 1991457 - Newtab fixing refined non sections card heights r=ini
Differential Revision: https://phabricator.services.mozilla.com/D266692
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/browser/extensions/newtab/content-src/components/DiscoveryStreamComponents/DSCard/DSCard.jsx b/browser/extensions/newtab/content-src/components/DiscoveryStreamComponents/DSCard/DSCard.jsx
@@ -263,7 +263,7 @@ export class _DSCard extends React.PureComponent {
{
mediaMatcher: "default",
width: 296,
- height: 148,
+ height: refinedCardsLayout ? 160 : 148,
},
];
diff --git a/browser/extensions/newtab/data/content/activity-stream.bundle.js b/browser/extensions/newtab/data/content/activity-stream.bundle.js
@@ -3694,7 +3694,7 @@ class _DSCard extends (external_React_default()).PureComponent {
this.standardCardImageSizes = [{
mediaMatcher: "default",
width: 296,
- height: 148
+ height: refinedCardsLayout ? 160 : 148
}];
this.listCardImageSizes = [{
mediaMatcher: "(min-width: 1122px)",