From 3698904df3bd3f29923540609387b221193ea9ad Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sat, 28 Sep 2024 23:30:04 -0500 Subject: [PATCH 01/18] Cards in index --- JournalApp/Pages/Index.razor | 86 +++++++++++++++++--------------- JournalApp/Pages/Index.razor.css | 3 -- 2 files changed, 45 insertions(+), 44 deletions(-) diff --git a/JournalApp/Pages/Index.razor b/JournalApp/Pages/Index.razor index d390725..ddf363c 100644 --- a/JournalApp/Pages/Index.razor +++ b/JournalApp/Pages/Index.razor @@ -59,64 +59,68 @@ continue; } -
+ @if (!string.IsNullOrEmpty(group.Key)) { - - @if (group.Key == "Medications") - { - @("Medications taken") - } - else if (group.Key == "Notes") - { - @("Today's notes") - } - + + + @if (group.Key == "Medications") + { + @("Medications taken") + } + else if (group.Key == "Notes") + { + @("Today's notes") + } + + } -
    - @foreach (var category in group.OrderBy(x => x.Index).ThenBy(x => x.Name)) - { - @foreach (var point in _day.Points.Where(x => !x.Deleted && x.Category.Guid == category.Guid && x.Type == category.Type).OrderBy(x => x.CreatedAt)) + +
      + @foreach (var category in group.OrderBy(x => x.Index).ThenBy(x => x.Name)) { -
    • - @if (!string.IsNullOrEmpty(category.Name)) - { -
      - - @(DataPointView.GetHeaderText(point)) - + @foreach (var point in _day.Points.Where(x => !x.Deleted && x.Category.Guid == category.Guid && x.Type == category.Type).OrderBy(x => x.CreatedAt)) + { +
    • + @if (!string.IsNullOrEmpty(category.Name)) + { +
      + + @(DataPointView.GetHeaderText(point)) + +
      + } + + @if (!category.SingleLine) + { + + } + +
      +
      - } - - @if (!category.SingleLine) - { - - } - -
      - -
      -
    • + + } } - } -
    +
+ -
+ @if (group.Key == null) { - Edit categories + Edit categories } else if (group.Key == "Medications") { - Edit medications + Edit medications } else if (group.Key == "Notes") { - New note + New note } -
-
+ + } diff --git a/JournalApp/Pages/Index.razor.css b/JournalApp/Pages/Index.razor.css index 5b041de..116a4aa 100644 --- a/JournalApp/Pages/Index.razor.css +++ b/JournalApp/Pages/Index.razor.css @@ -16,9 +16,6 @@ gap: 1em; } -.data-point-group-footer { -} - .data-point-container { display: flex; flex-wrap: wrap; From aeca64f0f94010edd9bd089149903402336273bb Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sat, 28 Sep 2024 23:30:11 -0500 Subject: [PATCH 02/18] Remove bottom border from switchers --- JournalApp/wwwroot/app.css | 1 - 1 file changed, 1 deletion(-) diff --git a/JournalApp/wwwroot/app.css b/JournalApp/wwwroot/app.css index cf97a35..096102b 100644 --- a/JournalApp/wwwroot/app.css +++ b/JournalApp/wwwroot/app.css @@ -70,7 +70,6 @@ h1, h2, h3, h4, h5, h6 { top: 0 !important; position: sticky !important; background-color: var(--mud-palette-background); - border-bottom: 1px solid var(--mud-palette-divider); } .mud-dialog .mud-dialog-content, .page-body { From 00de240c5aa89103836bbaba13db53561efb3816 Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sat, 28 Sep 2024 23:33:02 -0500 Subject: [PATCH 03/18] Make "Edit note" link the same typo as the note text --- JournalApp/Components/DataPointView.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JournalApp/Components/DataPointView.razor b/JournalApp/Components/DataPointView.razor index 213f80a..b4cd72c 100644 --- a/JournalApp/Components/DataPointView.razor +++ b/JournalApp/Components/DataPointView.razor @@ -80,7 +80,7 @@ else if (Point.Type == PointType.Note) AutoGrow Lines="1" MaxLines="10" /> } - Edit note + Edit note } else if (Point.Type == PointType.Medication) From 6c170c95d27c0b5051041c57f93d79a028d3ff98 Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sat, 28 Sep 2024 23:35:32 -0500 Subject: [PATCH 04/18] Revert "Remove bottom border from switchers" This reverts commit aeca64f0f94010edd9bd089149903402336273bb. --- JournalApp/wwwroot/app.css | 1 + 1 file changed, 1 insertion(+) diff --git a/JournalApp/wwwroot/app.css b/JournalApp/wwwroot/app.css index 096102b..cf97a35 100644 --- a/JournalApp/wwwroot/app.css +++ b/JournalApp/wwwroot/app.css @@ -70,6 +70,7 @@ h1, h2, h3, h4, h5, h6 { top: 0 !important; position: sticky !important; background-color: var(--mud-palette-background); + border-bottom: 1px solid var(--mud-palette-divider); } .mud-dialog .mud-dialog-content, .page-body { From 7e86a96578e6f91ba0c1025ee6dcafbd1952856c Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sat, 28 Sep 2024 23:41:04 -0500 Subject: [PATCH 05/18] fix excessive text padding --- JournalApp/wwwroot/app.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/JournalApp/wwwroot/app.css b/JournalApp/wwwroot/app.css index cf97a35..0c8c756 100644 --- a/JournalApp/wwwroot/app.css +++ b/JournalApp/wwwroot/app.css @@ -106,6 +106,10 @@ h1, h2, h3, h4, h5, h6 { gap: 1em; } +.mud-input > textarea.mud-input-root { + margin: 0 !important; +} + .mud-input-text { margin-top: 0 !important; } From fa783bd0cf7a5f5373431cf1af1844ca1bb4529a Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sat, 28 Sep 2024 23:41:17 -0500 Subject: [PATCH 06/18] fix property name --- JournalApp/Pages/Index.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JournalApp/Pages/Index.razor b/JournalApp/Pages/Index.razor index ddf363c..32c8380 100644 --- a/JournalApp/Pages/Index.razor +++ b/JournalApp/Pages/Index.razor @@ -59,7 +59,7 @@ continue; } - + @if (!string.IsNullOrEmpty(group.Key)) { From ae2016001c2e20ffad64e06ada8349745f9eca7d Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sat, 28 Sep 2024 23:48:54 -0500 Subject: [PATCH 07/18] Worksheet cards --- .../Pages/Worksheets/WorksheetsPage.razor | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/JournalApp/Pages/Worksheets/WorksheetsPage.razor b/JournalApp/Pages/Worksheets/WorksheetsPage.razor index 2b5bc5c..8e9f6cf 100644 --- a/JournalApp/Pages/Worksheets/WorksheetsPage.razor +++ b/JournalApp/Pages/Worksheets/WorksheetsPage.razor @@ -30,22 +30,24 @@ @foreach (var group in WorksheetGroups) { -
+ @if (!string.IsNullOrEmpty(group.Key)) { -
+ @group.Key -
+ } -
    - @foreach (var ws in group) - { - - } -
-
+ +
    + @foreach (var ws in group) + { + + } +
+
+
} From 72a1ac858d273e3d24a5fd40ab96c944172d2220 Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sat, 28 Sep 2024 23:57:07 -0500 Subject: [PATCH 08/18] Update card paddings --- JournalApp/wwwroot/app.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/JournalApp/wwwroot/app.css b/JournalApp/wwwroot/app.css index 0c8c756..c40b238 100644 --- a/JournalApp/wwwroot/app.css +++ b/JournalApp/wwwroot/app.css @@ -142,6 +142,14 @@ h1, h2, h3, h4, h5, h6 { flex-grow: 1; } +.mud-card-header { + padding: 1em !important; +} + +.mud-card-content { + padding: 0.5em 1em !important; +} + #blazor-error-ui { background: darkorange; bottom: 0; From 937a0bf5f71a7a7d4befb85c3d46dd15320482cd Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sun, 29 Sep 2024 00:07:13 -0500 Subject: [PATCH 09/18] adjust margins --- JournalApp/Pages/Index.razor.css | 2 +- JournalApp/Pages/Worksheets/WorksheetsPage.razor | 2 +- JournalApp/Pages/Worksheets/WorksheetsPage.razor.css | 4 ++-- JournalApp/wwwroot/app.css | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/JournalApp/Pages/Index.razor.css b/JournalApp/Pages/Index.razor.css index 116a4aa..6d6fc99 100644 --- a/JournalApp/Pages/Index.razor.css +++ b/JournalApp/Pages/Index.razor.css @@ -1,7 +1,7 @@ .main-timeline { display: flex; flex-direction: column; - gap: 0.5em; + gap: 1em; } .data-point-group { diff --git a/JournalApp/Pages/Worksheets/WorksheetsPage.razor b/JournalApp/Pages/Worksheets/WorksheetsPage.razor index 8e9f6cf..ca4b6a0 100644 --- a/JournalApp/Pages/Worksheets/WorksheetsPage.razor +++ b/JournalApp/Pages/Worksheets/WorksheetsPage.razor @@ -33,7 +33,7 @@ @if (!string.IsNullOrEmpty(group.Key)) { - + @group.Key diff --git a/JournalApp/Pages/Worksheets/WorksheetsPage.razor.css b/JournalApp/Pages/Worksheets/WorksheetsPage.razor.css index 266194f..6ccdbab 100644 --- a/JournalApp/Pages/Worksheets/WorksheetsPage.razor.css +++ b/JournalApp/Pages/Worksheets/WorksheetsPage.razor.css @@ -1,7 +1,7 @@ .worksheet-group-list { display: flex; flex-direction: column; - gap: 2em; + gap: 1em; } .worksheet-group { @@ -12,7 +12,7 @@ .worksheet-group-items { display: flex; flex-direction: column; - gap: 1em; + gap: 2em; } .worksheet-group-toc { diff --git a/JournalApp/wwwroot/app.css b/JournalApp/wwwroot/app.css index c40b238..1689586 100644 --- a/JournalApp/wwwroot/app.css +++ b/JournalApp/wwwroot/app.css @@ -143,11 +143,11 @@ h1, h2, h3, h4, h5, h6 { } .mud-card-header { - padding: 1em !important; + padding: 1em 1em 0 1em !important; } .mud-card-content { - padding: 0.5em 1em !important; + padding: 1em !important; } #blazor-error-ui { From 8e5cec779be05cb8ba6f9137461d49a10c1de2e4 Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sun, 29 Sep 2024 00:13:41 -0500 Subject: [PATCH 10/18] Use shadow instead of border to distinguish header --- JournalApp/wwwroot/app.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JournalApp/wwwroot/app.css b/JournalApp/wwwroot/app.css index 1689586..65e597b 100644 --- a/JournalApp/wwwroot/app.css +++ b/JournalApp/wwwroot/app.css @@ -70,7 +70,7 @@ h1, h2, h3, h4, h5, h6 { top: 0 !important; position: sticky !important; background-color: var(--mud-palette-background); - border-bottom: 1px solid var(--mud-palette-divider); + box-shadow: var(--mud-elevation-4); } .mud-dialog .mud-dialog-content, .page-body { From 4b6cbc91ab8e2227e21599b933f3ef614789d4d1 Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sun, 29 Sep 2024 00:17:59 -0500 Subject: [PATCH 11/18] Put text padding back --- JournalApp/wwwroot/app.css | 4 ---- 1 file changed, 4 deletions(-) diff --git a/JournalApp/wwwroot/app.css b/JournalApp/wwwroot/app.css index 65e597b..789b383 100644 --- a/JournalApp/wwwroot/app.css +++ b/JournalApp/wwwroot/app.css @@ -106,10 +106,6 @@ h1, h2, h3, h4, h5, h6 { gap: 1em; } -.mud-input > textarea.mud-input-root { - margin: 0 !important; -} - .mud-input-text { margin-top: 0 !important; } From 491f2b6bb6e001afd51cbd41abd4198c3d817c3b Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sun, 29 Sep 2024 13:23:19 -0500 Subject: [PATCH 12/18] Adjust data point sizes and typos to be more consistent --- JournalApp/Components/DataPointView.razor | 36 +++++++++++------------ JournalApp/Pages/MainLayout.razor | 2 +- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/JournalApp/Components/DataPointView.razor b/JournalApp/Components/DataPointView.razor index b4cd72c..e63bebc 100644 --- a/JournalApp/Components/DataPointView.razor +++ b/JournalApp/Components/DataPointView.razor @@ -27,7 +27,7 @@ else if (Point.Type == PointType.Sleep)
@((Point.SleepHours ?? 0).ToString("00.0")) - +
} @@ -37,27 +37,27 @@ else if (Point.Type == PointType.Scale) } else if (Point.Type == PointType.LowToHigh) { - - None - Low - Medium - High + + None + Low + Medium + High } else if (Point.Type == PointType.MildToSevere) { - - None - Mild - Moderate - Severe + + None + Mild + Moderate + Severe } else if (Point.Type == PointType.Bool) { - - No - Yes + + No + Yes } else if (Point.Type == PointType.Number) @@ -80,15 +80,15 @@ else if (Point.Type == PointType.Note) AutoGrow Lines="1" MaxLines="10" /> } - Edit note + Edit note } else if (Point.Type == PointType.Medication) {
- - No - Yes + + No + Yes Edit dose diff --git a/JournalApp/Pages/MainLayout.razor b/JournalApp/Pages/MainLayout.razor index 5f8b853..cd3fa6a 100644 --- a/JournalApp/Pages/MainLayout.razor +++ b/JournalApp/Pages/MainLayout.razor @@ -65,7 +65,7 @@ Caption = new() { - LineHeight = 1, + LineHeight = 0, }, }, }; From 8225e0b9c1d9c16699459878dff9c5fad57a2a68 Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sun, 29 Sep 2024 13:23:26 -0500 Subject: [PATCH 13/18] Make everything even rounder for MD3 --- JournalApp/Pages/MainLayout.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JournalApp/Pages/MainLayout.razor b/JournalApp/Pages/MainLayout.razor index cd3fa6a..2a21df6 100644 --- a/JournalApp/Pages/MainLayout.razor +++ b/JournalApp/Pages/MainLayout.razor @@ -53,7 +53,7 @@ LayoutProperties = new() { AppbarHeight = "4em", - DefaultBorderRadius = "1.0em", + DefaultBorderRadius = "2.0em", }, Typography = new() From 96769e5d5bedb227874dbf381ed07e3bb1e58dbd Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sun, 29 Sep 2024 13:35:07 -0500 Subject: [PATCH 14/18] Only apply shadow to switcher otherwise dialogs would look odd --- JournalApp/wwwroot/app.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JournalApp/wwwroot/app.css b/JournalApp/wwwroot/app.css index 789b383..640c44c 100644 --- a/JournalApp/wwwroot/app.css +++ b/JournalApp/wwwroot/app.css @@ -30,6 +30,7 @@ body { display: flex; justify-content: center; align-items: center; + box-shadow: var(--mud-elevation-4); } .switcher-header { @@ -70,7 +71,6 @@ h1, h2, h3, h4, h5, h6 { top: 0 !important; position: sticky !important; background-color: var(--mud-palette-background); - box-shadow: var(--mud-elevation-4); } .mud-dialog .mud-dialog-content, .page-body { From 94744b94ce87889d798ed642a0ec0e83f4942994 Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sun, 29 Sep 2024 13:48:13 -0500 Subject: [PATCH 15/18] More dialog padding to compensate for rounding --- JournalApp/wwwroot/app.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/JournalApp/wwwroot/app.css b/JournalApp/wwwroot/app.css index 640c44c..dab9dad 100644 --- a/JournalApp/wwwroot/app.css +++ b/JournalApp/wwwroot/app.css @@ -80,6 +80,12 @@ h1, h2, h3, h4, h5, h6 { padding: 0.5em !important; } +.mud-dialog .mud-dialog-content { + padding-bottom: 1em !important; + padding-left: 1em !important; + padding-right: 1em !important; +} + .mud-message-box :not(:has(.mud-dialog-title)) .mud-dialog-content { padding-top: 1em !important; } From a5cf5759099feec562bcfc48ac4d00b4659c9ab4 Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sun, 29 Sep 2024 14:28:27 -0500 Subject: [PATCH 16/18] Card style dialogs for MD3 --- .../Components/EditCategoryDialog.razor | 26 ++++++----- JournalApp/Components/EditDoseDialog.razor | 16 +++---- JournalApp/Components/EditNoteDialog.razor | 16 +++---- .../Pages/Calendar/ColorPickerDialog.razor | 15 +++++++ JournalApp/wwwroot/app.css | 43 +++++++------------ 5 files changed, 57 insertions(+), 59 deletions(-) diff --git a/JournalApp/Components/EditCategoryDialog.razor b/JournalApp/Components/EditCategoryDialog.razor index bb047a5..672d56b 100644 --- a/JournalApp/Components/EditCategoryDialog.razor +++ b/JournalApp/Components/EditCategoryDialog.razor @@ -5,20 +5,7 @@ -
- - - @(Category == null ? "New" : "Edit") @(Group == "Medications" ? "medication" : "category") - - - - @if (Category != null) - { - - } - - -
+ @(Category == null ? "New" : "Edit") @(Group == "Medications" ? "medication" : "category")
@@ -52,6 +39,17 @@ Placeholder="@(Group == "Medications" ? "Start date, side effects, etc" : "Explanation, scoring criteria, etc")" /> + + + @if (Category != null) + { + Delete + } + + Cancel + + Submit +
@code { diff --git a/JournalApp/Components/EditDoseDialog.razor b/JournalApp/Components/EditDoseDialog.razor index 1772cd4..3e6a49d 100644 --- a/JournalApp/Components/EditDoseDialog.razor +++ b/JournalApp/Components/EditDoseDialog.razor @@ -5,15 +5,7 @@ -
- - - Edit day's dose - - - - -
+ Edit day's dose
@@ -34,6 +26,12 @@ } + + + Cancel + + Submit +
@code { diff --git a/JournalApp/Components/EditNoteDialog.razor b/JournalApp/Components/EditNoteDialog.razor index c18a30d..a727851 100644 --- a/JournalApp/Components/EditNoteDialog.razor +++ b/JournalApp/Components/EditNoteDialog.razor @@ -5,20 +5,18 @@ -
- - - @Title - - - - -
+ @Title
+ + + Cancel + + Submit +
@code { diff --git a/JournalApp/Pages/Calendar/ColorPickerDialog.razor b/JournalApp/Pages/Calendar/ColorPickerDialog.razor index 58d8596..b2ed43a 100644 --- a/JournalApp/Pages/Calendar/ColorPickerDialog.razor +++ b/JournalApp/Pages/Calendar/ColorPickerDialog.razor @@ -6,9 +6,19 @@ @inject KeyEventService KeyEventService + + Pick color + + + + + Cancel + + Submit + @code { @@ -24,6 +34,11 @@ KeyEventService.Entered(() => Submit()); } + void Cancel() + { + KeyEventService.CancelDialog(MudDialog); + } + void Submit() { KeyEventService.CloseDialog(MudDialog, SelectedColor); diff --git a/JournalApp/wwwroot/app.css b/JournalApp/wwwroot/app.css index dab9dad..b6f18a1 100644 --- a/JournalApp/wwwroot/app.css +++ b/JournalApp/wwwroot/app.css @@ -62,7 +62,7 @@ h1, h2, h3, h4, h5, h6 { color: var(--mud-palette-text-primary); } -.mud-dialog .mud-dialog-title, .page-header { +.page-header { z-index: 999; display: flex; flex-direction: column; @@ -73,28 +73,11 @@ h1, h2, h3, h4, h5, h6 { background-color: var(--mud-palette-background); } -.mud-dialog .mud-dialog-content, .page-body { +.page-body { width: 100%; max-width: 960px; margin: 0 auto !important; padding: 0.5em !important; -} - -.mud-dialog .mud-dialog-content { - padding-bottom: 1em !important; - padding-left: 1em !important; - padding-right: 1em !important; -} - -.mud-message-box :not(:has(.mud-dialog-title)) .mud-dialog-content { - padding-top: 1em !important; -} - -.mud-dialog .mud-dialog-actions { - padding: 0.5em !important; -} - -.page-body { padding-bottom: 15vh !important; } @@ -102,10 +85,6 @@ h1, h2, h3, h4, h5, h6 { width: calc(100% - 1em) !important; } -.color-picker .mud-dialog-content { - padding: 0 !important; -} - .mud-form { display: flex; flex-direction: column; @@ -144,12 +123,22 @@ h1, h2, h3, h4, h5, h6 { flex-grow: 1; } -.mud-card-header { - padding: 1em 1em 0 1em !important; +.mud-dialog, .mud-card { + padding: 1em !important; + gap: 1em !important; } -.mud-card-content { - padding: 1em !important; +.mud-dialog-title, .mud-card-header { + padding: 0 !important; +} + +.mud-dialog-content, .mud-card-content { + padding: 0 !important; + border-radius: 0 !important; +} + +.mud-dialog-actions, .mud-card-actions { + padding: 0 !important; } #blazor-error-ui { From 7070faade4a965e2048d93cbb423b943a694d3fb Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sun, 29 Sep 2024 15:09:24 -0500 Subject: [PATCH 17/18] tweaks --- JournalApp/Components/EditCategoryDialog.razor | 2 +- JournalApp/Components/EditNoteDialog.razor | 2 +- JournalApp/Pages/MainLayout.razor | 2 +- JournalApp/wwwroot/app.css | 9 +++++---- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/JournalApp/Components/EditCategoryDialog.razor b/JournalApp/Components/EditCategoryDialog.razor index 672d56b..258b948 100644 --- a/JournalApp/Components/EditCategoryDialog.razor +++ b/JournalApp/Components/EditCategoryDialog.razor @@ -25,7 +25,7 @@ } else if (Group == "Medications") { -
+
diff --git a/JournalApp/Components/EditNoteDialog.razor b/JournalApp/Components/EditNoteDialog.razor index a727851..cfa0f90 100644 --- a/JournalApp/Components/EditNoteDialog.razor +++ b/JournalApp/Components/EditNoteDialog.razor @@ -9,7 +9,7 @@ - + diff --git a/JournalApp/Pages/MainLayout.razor b/JournalApp/Pages/MainLayout.razor index 2a21df6..5215e8c 100644 --- a/JournalApp/Pages/MainLayout.razor +++ b/JournalApp/Pages/MainLayout.razor @@ -65,7 +65,7 @@ Caption = new() { - LineHeight = 0, + LineHeight = 1, }, }, }; diff --git a/JournalApp/wwwroot/app.css b/JournalApp/wwwroot/app.css index b6f18a1..02c0f8b 100644 --- a/JournalApp/wwwroot/app.css +++ b/JournalApp/wwwroot/app.css @@ -88,7 +88,7 @@ h1, h2, h3, h4, h5, h6 { .mud-form { display: flex; flex-direction: column; - gap: 1em; + gap: 0.75em; } .mud-input-text { @@ -111,7 +111,7 @@ h1, h2, h3, h4, h5, h6 { } .mud-input > textarea.mud-input-root-outlined { - margin: 0.5em !important; + margin: 0.75em !important; } .mud-radio { @@ -124,8 +124,8 @@ h1, h2, h3, h4, h5, h6 { } .mud-dialog, .mud-card { - padding: 1em !important; - gap: 1em !important; + padding: 0.75em !important; + gap: 0.75em !important; } .mud-dialog-title, .mud-card-header { @@ -134,6 +134,7 @@ h1, h2, h3, h4, h5, h6 { .mud-dialog-content, .mud-card-content { padding: 0 !important; + margin: 0 !important; border-radius: 0 !important; } From 121b63d0a60d5929cdc315c9d67385dc6b0acd4e Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sun, 29 Sep 2024 15:37:23 -0500 Subject: [PATCH 18/18] update packages --- JournalApp.Tests/JournalApp.Tests.csproj | 6 +++--- JournalApp/JournalApp.csproj | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/JournalApp.Tests/JournalApp.Tests.csproj b/JournalApp.Tests/JournalApp.Tests.csproj index 8fd76fb..bd5962a 100644 --- a/JournalApp.Tests/JournalApp.Tests.csproj +++ b/JournalApp.Tests/JournalApp.Tests.csproj @@ -6,10 +6,10 @@ - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/JournalApp/JournalApp.csproj b/JournalApp/JournalApp.csproj index 79b7fb3..36caa77 100644 --- a/JournalApp/JournalApp.csproj +++ b/JournalApp/JournalApp.csproj @@ -48,7 +48,7 @@ - + @@ -60,7 +60,7 @@ - +