added expense state (view, edit, add) logic
This commit is contained in:
parent
23132741a9
commit
fed0f7908a
9 changed files with 180 additions and 117 deletions
43
src/app/components/expense/expense.component.scss
Normal file
43
src/app/components/expense/expense.component.scss
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
.expense-container {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
mat-card {
|
||||
max-width: 800px;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
mat-card-header {
|
||||
padding-bottom: 1rem;
|
||||
|
||||
.expense-header {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
|
||||
.expense-content {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
mat-form-field {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media (min-width: 550px) {
|
||||
.expense-content {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 800px) {
|
||||
.expense-content {
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue