fix(style): tag float orientation for long tags on page listing

This commit is contained in:
Jacky Zhao 2023-10-21 20:27:49 -07:00
parent 1e357ef5ac
commit dc834015d0
2 changed files with 5 additions and 8 deletions

View File

@ -28,11 +28,13 @@ function TagList({ fileData, displayClass }: QuartzComponentProps) {
TagList.css = `
.tags {
list-style: none;
display:flex;
flex-wrap: wrap;
display: flex;
padding-left: 0;
gap: 0.4rem;
margin: 1rem 0;
flex-wrap: wrap;
justify-content: flex-end;
justify-self: end;
}
.tags > li {
@ -42,7 +44,7 @@ TagList.css = `
overflow-wrap: normal;
}
a.tag-link {
a.internal.tag-link {
border-radius: 8px;
background-color: var(--highlight);
padding: 0.2rem 0.4rem;

View File

@ -19,11 +19,6 @@ li.section-li {
}
}
& > .tags {
justify-self: end;
margin-left: 1rem;
}
& > .desc > h3 > a {
background-color: transparent;
}