added expense state (view, edit, add) logic

This commit is contained in:
Joe Arndt 2026-02-14 23:39:51 -06:00
parent 23132741a9
commit fed0f7908a
9 changed files with 180 additions and 117 deletions

View 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;
}
}