Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
danielchalmers committed Sep 29, 2024
1 parent a5cf575 commit 7070faa
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion JournalApp/Components/EditCategoryDialog.razor
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}
else if (Group == "Medications")
{
<div class="d-flex flex-row flex-grow-1" style="gap: 1em">
<div class="d-flex flex-row flex-grow-1" style="gap: 0.75em">
<MudNumericField @bind-Value="MedicationDose" HideSpinButtons Label="Dose" MaxLength="6" Immediate />

<MudTextField @bind-Value="MedicationUnit" Label="Unit" MaxLength="8" Immediate />
Expand Down
2 changes: 1 addition & 1 deletion JournalApp/Components/EditNoteDialog.razor
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</TitleContent>

<DialogContent>
<MudTextField @bind-Value="Text" Typo="Typo.body2" Placeholder="@Placeholder" Lines="10" AutoGrow Underline="false" Immediate />
<MudTextField @bind-Value="Text" Typo="Typo.body2" Placeholder="@Placeholder" Lines="8" AutoGrow Underline="false" Immediate />
</DialogContent>

<DialogActions>
Expand Down
2 changes: 1 addition & 1 deletion JournalApp/Pages/MainLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

Caption = new()
{
LineHeight = 0,
LineHeight = 1,
},
},
};
Expand Down
9 changes: 5 additions & 4 deletions JournalApp/wwwroot/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -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;
}

Expand Down

0 comments on commit 7070faa

Please sign in to comment.