Adding space before URL click-counter for improved copy & paste-ability (#5698)

This commit is contained in:
Kris 2018-03-22 21:27:08 -04:00 committed by GitHub
parent 90af1659ff
commit 803b53f2e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -101,7 +101,7 @@ export default class PostCooked {
// don't display badge counts on category badge & oneboxes (unless when explicitely stated) // don't display badge counts on category badge & oneboxes (unless when explicitely stated)
if (valid && isValidLink($link)) { if (valid && isValidLink($link)) {
const title = I18n.t("topic_map.clicks", {count: lc.clicks}); const title = I18n.t("topic_map.clicks", {count: lc.clicks});
$link.append(`<span class='badge badge-notification clicks' title='${title}'>${number(lc.clicks)}</span>`); $link.append(` <span class='badge badge-notification clicks' title='${title}'>${number(lc.clicks)}</span>`);
} }
}); });
}); });

View File

@ -197,7 +197,6 @@
top: -1px; top: -1px;
color: $primary-medium; color: $primary-medium;
position: relative; position: relative;
margin-left: 2px;
border: none; border: none;
} }
} }