Refactor MudPaper component styling across various features for consistency
Updated the MudPaper component styling in multiple files to use a consistent padding class of "pa-3 pa-md-6" instead of "pa-6". This change enhances the visual consistency of the UI across the Calendar, Events, Students, and Teams components, improving the overall user experience.
This commit is contained in:
@@ -14,14 +14,14 @@
|
||||
|
||||
@if (_isLoading)
|
||||
{
|
||||
<MudPaper Elevation="2" Class="pa-6">
|
||||
<MudPaper Elevation="2" Class="pa-3 pa-md-6">
|
||||
<MudProgressLinear Indeterminate="true" Color="Color.Primary"/>
|
||||
<MudText Typo="Typo.body1" Class="mt-4">Loading career mapping data...</MudText>
|
||||
</MudPaper>
|
||||
}
|
||||
else if (_networkData == null || !_networkData.Nodes.Any())
|
||||
{
|
||||
<MudPaper Elevation="2" Class="pa-6">
|
||||
<MudPaper Elevation="2" Class="pa-3 pa-md-6">
|
||||
<MudText Typo="Typo.h6" Class="mb-4">No Career Field Mappings Found</MudText>
|
||||
<MudText Typo="Typo.body1" Class="mud-text-secondary">
|
||||
No events have related careers assigned that match any career fields. Edit events to add related careers.
|
||||
@@ -30,7 +30,7 @@ else if (_networkData == null || !_networkData.Nodes.Any())
|
||||
}
|
||||
else
|
||||
{
|
||||
<MudPaper Elevation="2" Class="pa-6">
|
||||
<MudPaper Elevation="2" Class="pa-3 pa-md-6">
|
||||
<MudText Typo="Typo.h6" Class="mb-4">Event-Career Field Relationships</MudText>
|
||||
<MudText Typo="Typo.body2" Class="mb-4 mud-text-secondary">
|
||||
This diagram shows the connections between events and their related career fields.
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<ValidationErrorDisplay Errors="_validationErrors" />
|
||||
|
||||
<MudStack Spacing="4">
|
||||
<MudPaper Elevation="2" Class="pa-6">
|
||||
<MudPaper Elevation="2" Class="pa-3 pa-md-6">
|
||||
<MudText Typo="Typo.h5" Class="mb-4">Basic Information</MudText>
|
||||
<MudGrid Spacing="3">
|
||||
<MudItem xs="12" sm="6">
|
||||
@@ -49,7 +49,7 @@
|
||||
</MudGrid>
|
||||
</MudPaper>
|
||||
|
||||
<MudPaper Elevation="2" Class="pa-6">
|
||||
<MudPaper Elevation="2" Class="pa-3 pa-md-6">
|
||||
<MudText Typo="Typo.h5" Class="mb-4">Event Details</MudText>
|
||||
<MudGrid Spacing="3">
|
||||
<MudItem xs="12">
|
||||
@@ -67,7 +67,7 @@
|
||||
</MudGrid>
|
||||
</MudPaper>
|
||||
|
||||
<MudPaper Elevation="2" Class="pa-6">
|
||||
<MudPaper Elevation="2" Class="pa-3 pa-md-6">
|
||||
<MudText Typo="Typo.h5" Class="mb-4">Team Configuration</MudText>
|
||||
<MudGrid Spacing="3">
|
||||
<MudItem xs="12">
|
||||
@@ -88,7 +88,7 @@
|
||||
</MudGrid>
|
||||
</MudPaper>
|
||||
|
||||
<MudPaper Elevation="2" Class="pa-6">
|
||||
<MudPaper Elevation="2" Class="pa-3 pa-md-6">
|
||||
<MudText Typo="Typo.h5" Class="mb-4">Competition Details</MudText>
|
||||
<MudGrid Spacing="3">
|
||||
<MudItem xs="12">
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
</ActionButtons>
|
||||
</PageHeader>
|
||||
|
||||
<MudPaper Elevation="2" Class="pa-6">
|
||||
<MudPaper Elevation="2" Class="pa-3 pa-md-6">
|
||||
<MudText Typo="Typo.h5" Class="mb-4">Basic Information</MudText>
|
||||
<MudGrid Spacing="3">
|
||||
<MudItem xs="12" sm="6" md="4">
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<ValidationErrorDisplay Errors="_validationErrors" />
|
||||
|
||||
<MudStack Spacing="4">
|
||||
<MudPaper Elevation="2" Class="pa-6">
|
||||
<MudPaper Elevation="2" Class="pa-3 pa-md-6">
|
||||
<MudText Typo="Typo.h5" Class="mb-4">Basic Information</MudText>
|
||||
<MudGrid Spacing="3">
|
||||
<MudItem xs="12" sm="6">
|
||||
@@ -56,7 +56,7 @@
|
||||
</MudGrid>
|
||||
</MudPaper>
|
||||
|
||||
<MudPaper Elevation="2" Class="pa-6">
|
||||
<MudPaper Elevation="2" Class="pa-3 pa-md-6">
|
||||
<MudText Typo="Typo.h5" Class="mb-4">Event Details</MudText>
|
||||
<MudGrid Spacing="3">
|
||||
<MudItem xs="12">
|
||||
@@ -74,7 +74,7 @@
|
||||
</MudGrid>
|
||||
</MudPaper>
|
||||
|
||||
<MudPaper Elevation="2" Class="pa-6">
|
||||
<MudPaper Elevation="2" Class="pa-3 pa-md-6">
|
||||
<MudText Typo="Typo.h5" Class="mb-4">Team Configuration</MudText>
|
||||
<MudGrid Spacing="3">
|
||||
<MudItem xs="12">
|
||||
@@ -95,7 +95,7 @@
|
||||
</MudGrid>
|
||||
</MudPaper>
|
||||
|
||||
<MudPaper Elevation="2" Class="pa-6">
|
||||
<MudPaper Elevation="2" Class="pa-3 pa-md-6">
|
||||
<MudText Typo="Typo.h5" Class="mb-4">Competition Details</MudText>
|
||||
<MudGrid Spacing="3">
|
||||
<MudItem xs="12">
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</ActionButtons>
|
||||
</PageHeader>
|
||||
|
||||
<MudPaper Elevation="2" Class="pa-6">
|
||||
<MudPaper Elevation="2" Class="pa-3 pa-md-6">
|
||||
<MudDataGrid T="EventDefinition"
|
||||
ServerData="ServerReload"
|
||||
@ref="_dataGrid"
|
||||
|
||||
Reference in New Issue
Block a user