mirror of
https://github.com/acedanger/finance.git
synced 2025-12-05 22:50:12 -08:00
feat: Update sidebar header text and remove margin from account summary
This commit is contained in:
@@ -12,7 +12,7 @@ const { accounts, initialAccount } = Astro.props;
|
||||
---
|
||||
<aside class="sidebar">
|
||||
<div class="sidebar-header">
|
||||
<h2>My Bank</h2>
|
||||
<h2>My finances</h2>
|
||||
</div>
|
||||
<nav class="account-nav">
|
||||
<h3>Accounts</h3>
|
||||
@@ -25,7 +25,8 @@ const { accounts, initialAccount } = Astro.props;
|
||||
</select>
|
||||
</nav>
|
||||
|
||||
<AccountSummary account={initialAccount} client:load /> {/* Make summary updatable */}
|
||||
|
||||
<AddTransactionForm client:load /> {/* Make form toggle interactive */}
|
||||
|
||||
<AccountSummary account={initialAccount} client:load /> {/* Make summary updatable */}
|
||||
</aside>
|
||||
@@ -121,7 +121,6 @@ body {
|
||||
}
|
||||
|
||||
.account-summary {
|
||||
margin-top: auto;
|
||||
padding-top: 20px;
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user