mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 22:43:43 +08:00
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;
|
||||
}
|
||||
|
||||
.d-icon-tag {
|
||||
width: 0.75rem;
|
||||
padding-top: 0.3rem;
|
||||
position: absolute;
|
||||
color: var(--primary-medium);
|
||||
}
|
||||
|
||||
.discourse-tags .discourse-tag:first-of-type {
|
||||
padding-left: 1rem;
|
||||
.discourse-tags {
|
||||
vertical-align: bottom;
|
||||
.d-icon-tag {
|
||||
font-size: var(--font-down-1);
|
||||
margin-right: 0.35em;
|
||||
margin-top: 0.15em;
|
||||
color: var(--primary-medium);
|
||||
align-self: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -131,7 +131,6 @@
|
|||
.discourse-tags {
|
||||
display: inline-flex;
|
||||
flex-wrap: wrap;
|
||||
position: relative;
|
||||
a,
|
||||
span {
|
||||
margin-right: 0.25em;
|
||||
|
|
Loading…
Reference in New Issue
Block a user