UX: Refactor alignment of tag icon in Discourse onebox (#19880)

Followup to 1ce9582a6c
This commit is contained in:
Penar Musaraj 2023-01-17 11:13:55 -05:00 committed by GitHub
parent 4204b984ee
commit 86b4f4d664
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 10 deletions

View File

@ -777,15 +777,15 @@ aside.onebox.xkcd .onebox-body img {
margin-bottom: 0.2rem !important;
}
.discourse-tags {
vertical-align: bottom;
.d-icon-tag {
width: 0.75rem;
padding-top: 0.3rem;
position: absolute;
font-size: var(--font-down-1);
margin-right: 0.35em;
margin-top: 0.15em;
color: var(--primary-medium);
align-self: center;
}
.discourse-tags .discourse-tag:first-of-type {
padding-left: 1rem;
}
}

View File

@ -131,7 +131,6 @@
.discourse-tags {
display: inline-flex;
flex-wrap: wrap;
position: relative;
a,
span {
margin-right: 0.25em;