commit 779eda1adeb9a8ea6e8124d2d5de2d2eddd8acdb
parent 526bb16baa19e6b729ea9bad593dcfd7bd6a22cc
Author: Irene Ni <ini@mozilla.com>
Date: Fri, 24 Oct 2025 19:29:33 +0000
Bug 1996297 - Prevent medium story card Publisher title length from overriding small story card. r=home-newtab-reviewers,thecount
Differential Revision: https://phabricator.services.mozilla.com/D269986
Diffstat:
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/browser/extensions/newtab/content-src/components/DiscoveryStreamComponents/CardSections/_CardSections.scss b/browser/extensions/newtab/content-src/components/DiscoveryStreamComponents/CardSections/_CardSections.scss
@@ -209,7 +209,7 @@
max-width: 245px;
}
- .source-wrapper .source {
+ .source {
width: 217px;
}
}
diff --git a/browser/extensions/newtab/css/activity-stream.css b/browser/extensions/newtab/css/activity-stream.css
@@ -5468,7 +5468,7 @@ dialog::after {
.ds-section-grid.ds-card-grid .col-1-medium.refined-cards .meta .sections-card-footer .source-wrapper {
max-width: 245px;
}
- .ds-section-grid.ds-card-grid .col-1-medium.refined-cards .meta .sections-card-footer .source-wrapper .source {
+ .ds-section-grid.ds-card-grid .col-1-medium.refined-cards .meta .sections-card-footer .source {
width: 217px;
}
.ds-section-grid.ds-card-grid .col-1-medium.refined-cards .meta:has(.story-footer .story-sponsored-label) .sections-card-footer {
@@ -5849,7 +5849,7 @@ dialog::after {
.ds-section-grid.ds-card-grid .col-2-medium.refined-cards .meta .sections-card-footer .source-wrapper {
max-width: 245px;
}
- .ds-section-grid.ds-card-grid .col-2-medium.refined-cards .meta .sections-card-footer .source-wrapper .source {
+ .ds-section-grid.ds-card-grid .col-2-medium.refined-cards .meta .sections-card-footer .source {
width: 217px;
}
.ds-section-grid.ds-card-grid .col-2-medium.refined-cards .meta:has(.story-footer .story-sponsored-label) .sections-card-footer {
@@ -6239,7 +6239,7 @@ dialog::after {
.ds-section-grid.ds-card-grid .col-3-medium.refined-cards .meta .sections-card-footer .source-wrapper {
max-width: 245px;
}
- .ds-section-grid.ds-card-grid .col-3-medium.refined-cards .meta .sections-card-footer .source-wrapper .source {
+ .ds-section-grid.ds-card-grid .col-3-medium.refined-cards .meta .sections-card-footer .source {
width: 217px;
}
.ds-section-grid.ds-card-grid .col-3-medium.refined-cards .meta:has(.story-footer .story-sponsored-label) .sections-card-footer {
@@ -6628,7 +6628,7 @@ dialog::after {
.ds-section-grid.ds-card-grid .col-4-medium.refined-cards .meta .sections-card-footer .source-wrapper {
max-width: 245px;
}
- .ds-section-grid.ds-card-grid .col-4-medium.refined-cards .meta .sections-card-footer .source-wrapper .source {
+ .ds-section-grid.ds-card-grid .col-4-medium.refined-cards .meta .sections-card-footer .source {
width: 217px;
}
.ds-section-grid.ds-card-grid .col-4-medium.refined-cards .meta:has(.story-footer .story-sponsored-label) .sections-card-footer {