FIX: Alignment for small-actions, gap, removing unneeded clearfix

This commit is contained in:
Kris 2019-01-21 17:57:47 -05:00
parent 4ddc28f194
commit fe6d571021
3 changed files with 4 additions and 3 deletions

View File

@ -62,7 +62,7 @@ export function addPostSmallActionIcon(key, icon) {
export default createWidget("post-small-action", {
buildKey: attrs => `post-small-act-${attrs.id}`,
tagName: "div.small-action.onscreen-post.clearfix",
tagName: "div.small-action.onscreen-post",
buildId(attrs) {
return `post_${attrs.post_number}`;

View File

@ -16,7 +16,7 @@ function description(attrs) {
}
export default createWidget("time-gap", {
tagName: "div.time-gap.small-action.clearfix",
tagName: "div.time-gap.small-action",
html(attrs) {
return [

View File

@ -586,7 +586,7 @@ blockquote > *:last-child {
}
.gap {
padding: 0.25em 0 0.5em 4.6em;
padding: 0.25em 0 0.5em 56px; // 45px (topic avatar) + 11px (margin) = 56px
color: dark-light-choose($primary-medium, $secondary-high);
cursor: pointer;
text-transform: uppercase;
@ -628,6 +628,7 @@ blockquote > *:last-child {
padding: 0.7em 0;
border-top: none;
margin-right: 11px;
flex: 0 0 auto;
.d-icon {
font-size: 2em;
width: 45px;