mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-01 13:14:16 +08:00
fix(threads): Right-align the timestamps in the thread list
This commit is contained in:
parent
6ec0045677
commit
011431f93a
2 changed files with 6 additions and 1 deletions
|
@ -195,6 +195,9 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
.list-column-Date {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
.timestamp {
|
.timestamp {
|
||||||
font-size: @font-size-small;
|
font-size: @font-size-small;
|
||||||
|
|
|
@ -17,7 +17,9 @@ class NylasSyncStatusStore extends NylasStore
|
||||||
AccountStore.accounts().forEach (item) =>
|
AccountStore.accounts().forEach (item) =>
|
||||||
query = DatabaseStore.findJSONBlob("NylasSyncWorker:#{item.id}")
|
query = DatabaseStore.findJSONBlob("NylasSyncWorker:#{item.id}")
|
||||||
@_subscriptions[item.id] ?= Rx.Observable.fromQuery(query).subscribe (json) =>
|
@_subscriptions[item.id] ?= Rx.Observable.fromQuery(query).subscribe (json) =>
|
||||||
@_statesByAccount[item.id] = json ? {}
|
state = _.extend({}, json ? {})
|
||||||
|
delete state.cursor
|
||||||
|
@_statesByAccount[item.id] = state
|
||||||
@trigger()
|
@trigger()
|
||||||
|
|
||||||
state: =>
|
state: =>
|
||||||
|
|
Loading…
Reference in a new issue