UX: title links to first post on expanded timeline
This commit is contained in:
parent
aa0e17574b
commit
920264349d
|
@ -232,7 +232,11 @@ export default createWidget('topic-timeline', {
|
||||||
if (attrs.mobileView) {
|
if (attrs.mobileView) {
|
||||||
titleHTML = new RawHtml({ html: `<span>${topic.get('fancyTitle')}</span>` });
|
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;
|
display: table-cell;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
line-height: 1.3em;
|
line-height: 1.3em;
|
||||||
|
a {
|
||||||
|
color: $primary;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.timeline-last-read {
|
.timeline-last-read {
|
||||||
right: 0px;
|
right: 0px;
|
||||||
|
|
Loading…
Reference in New Issue