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 b0220f5d25
commit 14a5196822
2 changed files with 5 additions and 8 deletions

View File

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

View File

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