mirror of
https://github.com/discourse/discourse.git
synced 2025-04-02 15:25:43 +08:00
UX: Add a class name to target the embedded post controls
This commit is contained in:
parent
f7c77171b9
commit
3cf4886d3e
@ -6,6 +6,8 @@ import DiscourseURL from 'discourse/lib/url';
|
|||||||
import hbs from 'discourse/widgets/hbs-compiler';
|
import hbs from 'discourse/widgets/hbs-compiler';
|
||||||
|
|
||||||
createWidget('post-link-arrow', {
|
createWidget('post-link-arrow', {
|
||||||
|
tagName: 'div.post-link-arrow',
|
||||||
|
|
||||||
template: hbs`
|
template: hbs`
|
||||||
{{#if attrs.above}}
|
{{#if attrs.above}}
|
||||||
<a class="post-info arrow" title={{i18n "topic.jump_reply_up"}}>
|
<a class="post-info arrow" title={{i18n "topic.jump_reply_up"}}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user