🎨 (account) no unnecessary scroll in account tabs
This commit is contained in:
@@ -69,10 +69,10 @@ class CouchService {
|
||||
})
|
||||
.on('change', (result: PouchDB.Replication.SyncResult<any>) => {
|
||||
if (result.direction === 'pull') {
|
||||
const docNoCurrency = result.change.docs.find(
|
||||
(doc: any) => !doc._id.startsWith('cur')
|
||||
const hasDocOtherThanExchange = result.change.docs.some(
|
||||
(doc: any) => doc.doctype !== 'exchange'
|
||||
)
|
||||
if (docNoCurrency) {
|
||||
if (hasDocOtherThanExchange) {
|
||||
emit(SYNC)
|
||||
confirmation('Mise à jour...')
|
||||
}
|
||||
|
||||
@@ -17,7 +17,6 @@ html {
|
||||
|
||||
body {
|
||||
background-color: white;
|
||||
padding: 15px 0 0;
|
||||
}
|
||||
|
||||
.app {
|
||||
|
||||
@@ -448,6 +448,9 @@ export default class AccountItem extends BaseAccount {
|
||||
a {
|
||||
color: var(--primary-font-color);
|
||||
}
|
||||
.account-title {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.account-title {
|
||||
span,
|
||||
a {
|
||||
|
||||
Reference in New Issue
Block a user