mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: title links to first post on expanded timeline
This commit is contained in:
@@ -232,7 +232,11 @@ export default createWidget('topic-timeline', {
|
||||
if (attrs.mobileView) {
|
||||
titleHTML = new RawHtml({ html: `<span>${topic.get('fancyTitle')}</span>` });
|
||||
}
|
||||
result.push(h('h3.title', titleHTML));
|
||||
result.push(h('h3.title', this.attach('link', {
|
||||
contents: ()=>titleHTML,
|
||||
className: 'fancy-title',
|
||||
action: 'jumpTop'
|
||||
})));
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -67,6 +67,9 @@
|
||||
display: table-cell;
|
||||
vertical-align: top;
|
||||
line-height: 1.3em;
|
||||
a {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
.timeline-last-read {
|
||||
right: 0px;
|
||||
|
||||
Reference in New Issue
Block a user