From efd51d7f531669a4087881e336a6318851e53717 Mon Sep 17 00:00:00 2001 From: andrewlalis Date: Thu, 11 Sep 2025 15:04:31 -0400 Subject: [PATCH] Improve account history formatting. --- web-app/src/assets/styles/text.css | 4 ++ .../src/components/history/AccountHistory.vue | 70 ++++++++++++------- .../components/history/HistoryItemDivider.vue | 29 ++++++++ .../history/JournalEntryHistoryItem.vue | 34 ++++----- .../history/ValueRecordHistoryItem.vue | 22 ++---- web-app/src/pages/AccountPage.vue | 2 +- 6 files changed, 98 insertions(+), 63 deletions(-) create mode 100644 web-app/src/components/history/HistoryItemDivider.vue diff --git a/web-app/src/assets/styles/text.css b/web-app/src/assets/styles/text.css index 64daa09..d4e0461 100644 --- a/web-app/src/assets/styles/text.css +++ b/web-app/src/assets/styles/text.css @@ -22,6 +22,10 @@ font-weight: bold; } +.font-italic { + font-style: italic; +} + .font-size-normal { font-size: 1rem; } diff --git a/web-app/src/components/history/AccountHistory.vue b/web-app/src/components/history/AccountHistory.vue index 0c2efae..a947008 100644 --- a/web-app/src/components/history/AccountHistory.vue +++ b/web-app/src/components/history/AccountHistory.vue @@ -1,15 +1,18 @@ diff --git a/web-app/src/components/history/HistoryItemDivider.vue b/web-app/src/components/history/HistoryItemDivider.vue new file mode 100644 index 0000000..11891fe --- /dev/null +++ b/web-app/src/components/history/HistoryItemDivider.vue @@ -0,0 +1,29 @@ + + + diff --git a/web-app/src/components/history/JournalEntryHistoryItem.vue b/web-app/src/components/history/JournalEntryHistoryItem.vue index 4792363..4b5cb5a 100644 --- a/web-app/src/components/history/JournalEntryHistoryItem.vue +++ b/web-app/src/components/history/JournalEntryHistoryItem.vue @@ -1,28 +1,24 @@ diff --git a/web-app/src/components/history/ValueRecordHistoryItem.vue b/web-app/src/components/history/ValueRecordHistoryItem.vue index 663a563..9bf9500 100644 --- a/web-app/src/components/history/ValueRecordHistoryItem.vue +++ b/web-app/src/components/history/ValueRecordHistoryItem.vue @@ -1,26 +1,16 @@ diff --git a/web-app/src/pages/AccountPage.vue b/web-app/src/pages/AccountPage.vue index a467d15..3ca108a 100644 --- a/web-app/src/pages/AccountPage.vue +++ b/web-app/src/pages/AccountPage.vue @@ -98,7 +98,7 @@ async function addValueRecord() { Delete - +