UX: Refactor alignment of tag icon in Discourse onebox (#19880)
Followup to 1ce9582a6c
This commit is contained in:
parent
4204b984ee
commit
86b4f4d664
|
@ -777,15 +777,15 @@ aside.onebox.xkcd .onebox-body img {
|
||||||
margin-bottom: 0.2rem !important;
|
margin-bottom: 0.2rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.discourse-tags {
|
||||||
|
vertical-align: bottom;
|
||||||
.d-icon-tag {
|
.d-icon-tag {
|
||||||
width: 0.75rem;
|
font-size: var(--font-down-1);
|
||||||
padding-top: 0.3rem;
|
margin-right: 0.35em;
|
||||||
position: absolute;
|
margin-top: 0.15em;
|
||||||
color: var(--primary-medium);
|
color: var(--primary-medium);
|
||||||
|
align-self: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.discourse-tags .discourse-tag:first-of-type {
|
|
||||||
padding-left: 1rem;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -131,7 +131,6 @@
|
||||||
.discourse-tags {
|
.discourse-tags {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
position: relative;
|
|
||||||
a,
|
a,
|
||||||
span {
|
span {
|
||||||
margin-right: 0.25em;
|
margin-right: 0.25em;
|
||||||
|
|
Loading…
Reference in New Issue