Fix featured post indicator layout shifting

This commit is contained in:
Sodbileg Gansukh 2022-05-26 16:19:59 +08:00
parent e27f2190d6
commit f5cb9a73d0
3 changed files with 9 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -702,12 +702,19 @@ body:not(.gh-head-open) .gh-burger:hover .gh-burger-inner::after {
} }
.post-card-featured { .post-card-featured {
position: relative;
display: flex; display: flex;
align-items: center; align-items: center;
gap: 3px; gap: 3px;
padding-left: 18px;
color: var(--ghost-accent-color); color: var(--ghost-accent-color);
} }
.post-card-featured svg {
position: absolute;
left: 0;
}
.post-card-title { .post-card-title {
margin: 0; margin: 0;
font-size: 2.6rem; font-size: 2.6rem;