Skip to content

Commit f88fd87

Browse files
Make list groups more MD3E
1 parent 17314ee commit f88fd87

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

JournalApp/Pages/Calendar/CalendarMonth.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@using JournalApp
33

44
<section class="calendar-month" id="calendar-month-@(Month.Month)">
5-
<MudText>@(Month.Name)</MudText>
5+
<MudText Class="list-group-title">@(Month.Name)</MudText>
66

77
<MudPaper Class="calendar-month-grid">
88
<CalendarWeekHeader DaysOfWeek="Month.DaysOfWeek" />

JournalApp/Pages/Index.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
<div>
6363
@if (!string.IsNullOrEmpty(group.Key))
6464
{
65-
<MudText Class="data-point-group-header">
65+
<MudText Class="list-group-title">
6666
@if (group.Key == "Medications")
6767
{
6868
@("Medications taken")

JournalApp/Pages/Worksheets/WorksheetsPage.razor.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
.worksheet-group-items {
1313
display: flex;
1414
flex-direction: column;
15-
gap: 32px;
15+
gap: 8px;
1616
}
1717

1818
.worksheet-group-toc {

JournalApp/wwwroot/app.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,16 @@ body {
158158
min-width: unset;
159159
}
160160

161+
.list-group-title {
162+
font-size: var(--mud-typography-subtitle2-size);
163+
font-family: var(--mud-typography-subtitle2-family);
164+
font-weight: var(--mud-typography-subtitle2-weight);
165+
line-height: var(--mud-typography-subtitle2-lineheight);
166+
letter-spacing: var(--mud-typography-subtitle2-letterspacing);
167+
text-transform: var(--mud-typography-subtitle2-text-transform);
168+
margin-bottom: 8px;
169+
}
170+
161171
#blazor-error-ui {
162172
background: darkorange;
163173
bottom: 0;

0 commit comments

Comments
 (0)