mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Adding space before URL click-counter for improved copy & paste-ability (#5698)
This commit is contained in:
parent
90af1659ff
commit
803b53f2e3
@ -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>`);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user