fix: page translation links overflow (#861)

closes https://github.com/CaiJimmy/hugo-theme-stack/issues/788
This commit is contained in:
Jimmy Cai 2023-08-15 12:46:29 +02:00 committed by GitHub
parent eefa686661
commit 4e2e90da4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,16 +92,15 @@
.article-time, .article-time,
.article-translations { .article-translations {
display: flex; display: flex;
align-items: center;
color: var(--card-text-color-tertiary); color: var(--card-text-color-tertiary);
gap: 15px; gap: 15px;
flex-wrap: wrap;
svg { svg {
vertical-align: middle; vertical-align: middle;
width: 20px; width: 20px;
height: 20px; height: 20px;
stroke-width: 1.33; stroke-width: 1.33;
flex-shrink: 0;
} }
time, time,
@ -117,6 +116,16 @@
} }
} }
.article-time {
flex-wrap: wrap;
}
.article-translations {
& > div {
flex-wrap: wrap;
}
}
.article-category, .article-category,
.article-tags { .article-tags {
display: flex; display: flex;