feat: auto-focus expense account in expense form.

This commit is contained in:
a.bouhuolia
2021-01-27 18:37:57 +02:00
parent 3f22872992
commit 62ea979014
3 changed files with 8 additions and 2 deletions

View File

@@ -234,6 +234,7 @@ function ExpenseTable({
errors: error,
updateData: handleUpdateData,
removeRow: handleRemoveRow,
autoFocus: ['expense_account_id', 0],
}}
actions={
<>

View File

@@ -21,7 +21,7 @@
overflow-x: hidden;
.th {
padding: 0.6rem 0.5rem;
padding: 0.7rem 0.5rem;
background: #f5f5f5;
font-size: 14px;
color: #505e71;

View File

@@ -48,7 +48,12 @@
font-size: 13.5px;
}
.bp3-progress-bar{
height: 6px;
height: 4px;
&,
.bp3-progress-meter{
border-radius: 4px;
}
}
}
}