Bug 1799974 - Pocket newtab fixing loading of page to have less shifting. r=gvn

Differential Revision: https://phabricator.services.mozilla.com/D163621
This commit is contained in:
scott
2022-12-01 19:28:48 +00:00
parent 9b13db7d2d
commit f0ca205e0d
5 changed files with 25 additions and 0 deletions

View File

@@ -3409,6 +3409,9 @@ main.has-snippet {
font-size: 13px;
color: var(--newtab-text-secondary-color);
}
.ds-card .meta .source span {
display: inline-block;
}
.ds-card .meta .new-sponsored-label {
font-size: 13px;
margin-bottom: 2px;
@@ -3460,6 +3463,9 @@ main.has-snippet {
margin-top: 12px;
position: relative;
}
.story-footer .story-sponsored-label span {
display: inline-block;
}
.story-footer .story-sponsored-label,
.story-footer .status-message {
-webkit-line-clamp: 1;

View File

@@ -3413,6 +3413,9 @@ main.has-snippet {
font-size: 13px;
color: var(--newtab-text-secondary-color);
}
.ds-card .meta .source span {
display: inline-block;
}
.ds-card .meta .new-sponsored-label {
font-size: 13px;
margin-bottom: 2px;
@@ -3464,6 +3467,9 @@ main.has-snippet {
margin-top: 12px;
position: relative;
}
.story-footer .story-sponsored-label span {
display: inline-block;
}
.story-footer .story-sponsored-label,
.story-footer .status-message {
-webkit-line-clamp: 1;

View File

@@ -3409,6 +3409,9 @@ main.has-snippet {
font-size: 13px;
color: var(--newtab-text-secondary-color);
}
.ds-card .meta .source span {
display: inline-block;
}
.ds-card .meta .new-sponsored-label {
font-size: 13px;
margin-bottom: 2px;
@@ -3460,6 +3463,9 @@ main.has-snippet {
margin-top: 12px;
position: relative;
}
.story-footer .story-sponsored-label span {
display: inline-block;
}
.story-footer .story-sponsored-label,
.story-footer .status-message {
-webkit-line-clamp: 1;