mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-22 18:21:39 +01:00
small UI refinements for date header
This commit is contained in:
parent
9b235f7c80
commit
9c2c5af291
@ -422,3 +422,10 @@ only loads when the top comes into view*/
|
||||
.GapView.isAtTop {
|
||||
padding: 52px 20px 12px 20px;
|
||||
}
|
||||
|
||||
.DateHeader {
|
||||
color: var(--light-text-color);
|
||||
font-weight: bold;
|
||||
padding: 12px 4px;
|
||||
text-align: center;
|
||||
}
|
@ -25,7 +25,7 @@ export class DateHeaderView extends TemplateView<DateTile> {
|
||||
}
|
||||
|
||||
render(t, vm) {
|
||||
return t.div({className: "DateHeader"}, t.div(vm.date));
|
||||
return t.div({className: "DateHeader"}, t.time(vm.date));
|
||||
}
|
||||
|
||||
/* This is called by the parent ListView, which just has 1 listener for the whole list */
|
||||
|
Loading…
x
Reference in New Issue
Block a user