mirror of
https://github.com/discourse/discourse.git
synced 2025-06-14 02:42:50 +08:00
UX: alignment was off on likes for your own post
This commit is contained in:
@ -56,11 +56,11 @@ nav.post-controls {
|
|||||||
|
|
||||||
.like-button {
|
.like-button {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
|
|
||||||
.like-count {
|
.like-count {
|
||||||
color: dark-light-choose($primary-low-mid, $secondary-high);
|
color: dark-light-choose($primary-low-mid, $secondary-high);
|
||||||
}
|
}
|
||||||
|
|
||||||
.widget-button {
|
.widget-button {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
@ -68,10 +68,10 @@ nav.post-controls {
|
|||||||
&:hover {
|
&:hover {
|
||||||
background: $primary-low;
|
background: $primary-low;
|
||||||
.like-count {
|
.like-count {
|
||||||
color: dark-light-choose($primary-medium, $secondary-high);
|
color: dark-light-choose($primary-medium, $secondary-high);
|
||||||
&.d-hover {
|
&.d-hover {
|
||||||
color: dark-light-choose($primary, $secondary);
|
color: dark-light-choose($primary, $secondary);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.d-hover {
|
.d-hover {
|
||||||
background: none;
|
background: none;
|
||||||
@ -100,6 +100,9 @@ nav.post-controls {
|
|||||||
}
|
}
|
||||||
&.my-likes {
|
&.my-likes {
|
||||||
margin-right: -2px;
|
margin-right: -2px;
|
||||||
|
i.fa-heart {
|
||||||
|
padding-left: 10px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
&.regular-likes {
|
&.regular-likes {
|
||||||
margin-right: -12px;
|
margin-right: -12px;
|
||||||
|
Reference in New Issue
Block a user