Improve Table Density and Spacing
This commit is contained in:
@@ -14,7 +14,15 @@
|
|||||||
</ActionButtons>
|
</ActionButtons>
|
||||||
</PageHeader>
|
</PageHeader>
|
||||||
|
|
||||||
<MudDataGrid T="EventDefinition" ServerData="ServerReload" @ref="_dataGrid" Filterable="true" RowsPerPage="50" >
|
<MudPaper Elevation="2" Class="pa-4">
|
||||||
|
<MudDataGrid T="EventDefinition"
|
||||||
|
ServerData="ServerReload"
|
||||||
|
@ref="_dataGrid"
|
||||||
|
Filterable="true"
|
||||||
|
RowsPerPage="50"
|
||||||
|
Dense="true"
|
||||||
|
Striped="true"
|
||||||
|
Hover="true">
|
||||||
<Columns>
|
<Columns>
|
||||||
<PropertyColumn Property="@(e => e.Name)" Title="Event Name" Sortable="true">
|
<PropertyColumn Property="@(e => e.Name)" Title="Event Name" Sortable="true">
|
||||||
<CellTemplate>
|
<CellTemplate>
|
||||||
@@ -57,7 +65,8 @@
|
|||||||
<PagerContent>
|
<PagerContent>
|
||||||
<MudDataGridPager T="EventDefinition"></MudDataGridPager>
|
<MudDataGridPager T="EventDefinition"></MudDataGridPager>
|
||||||
</PagerContent>
|
</PagerContent>
|
||||||
</MudDataGrid>
|
</MudDataGrid>
|
||||||
|
</MudPaper>
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
MudDataGrid<EventDefinition> _dataGrid = null!;
|
MudDataGrid<EventDefinition> _dataGrid = null!;
|
||||||
|
|||||||
@@ -15,7 +15,15 @@
|
|||||||
</ActionButtons>
|
</ActionButtons>
|
||||||
</PageHeader>
|
</PageHeader>
|
||||||
|
|
||||||
<MudDataGrid T="Student" ServerData="ServerReload" @ref="_dataGrid" Filterable="true" RowsPerPage="25">
|
<MudPaper Elevation="2" Class="pa-4">
|
||||||
|
<MudDataGrid T="Student"
|
||||||
|
ServerData="ServerReload"
|
||||||
|
@ref="_dataGrid"
|
||||||
|
Filterable="true"
|
||||||
|
RowsPerPage="25"
|
||||||
|
Dense="true"
|
||||||
|
Striped="true"
|
||||||
|
Hover="true">
|
||||||
<Columns>
|
<Columns>
|
||||||
<PropertyColumn Property="@(e => e.LastName)" Title="Name" Sortable="true">
|
<PropertyColumn Property="@(e => e.LastName)" Title="Name" Sortable="true">
|
||||||
<CellTemplate>
|
<CellTemplate>
|
||||||
@@ -52,7 +60,8 @@
|
|||||||
<PagerContent>
|
<PagerContent>
|
||||||
<MudDataGridPager T="Student"></MudDataGridPager>
|
<MudDataGridPager T="Student"></MudDataGridPager>
|
||||||
</PagerContent>
|
</PagerContent>
|
||||||
</MudDataGrid>
|
</MudDataGrid>
|
||||||
|
</MudPaper>
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
MudDataGrid<Student> _dataGrid = null!;
|
MudDataGrid<Student> _dataGrid = null!;
|
||||||
|
|||||||
@@ -14,7 +14,15 @@
|
|||||||
</ActionButtons>
|
</ActionButtons>
|
||||||
</PageHeader>
|
</PageHeader>
|
||||||
|
|
||||||
<MudDataGrid T="Team" ServerData="ServerReload" @ref="_dataGrid" Filterable="true" RowsPerPage="35">
|
<MudPaper Elevation="2" Class="pa-4">
|
||||||
|
<MudDataGrid T="Team"
|
||||||
|
ServerData="ServerReload"
|
||||||
|
@ref="_dataGrid"
|
||||||
|
Filterable="true"
|
||||||
|
RowsPerPage="35"
|
||||||
|
Dense="true"
|
||||||
|
Striped="true"
|
||||||
|
Hover="true">
|
||||||
<Columns>
|
<Columns>
|
||||||
<TemplateColumn Title="Event" Sortable="true" SortBy="@(t => t.Event.Name)">
|
<TemplateColumn Title="Event" Sortable="true" SortBy="@(t => t.Event.Name)">
|
||||||
<CellTemplate>
|
<CellTemplate>
|
||||||
@@ -50,7 +58,8 @@
|
|||||||
<PagerContent>
|
<PagerContent>
|
||||||
<MudDataGridPager T="Team"></MudDataGridPager>
|
<MudDataGridPager T="Team"></MudDataGridPager>
|
||||||
</PagerContent>
|
</PagerContent>
|
||||||
</MudDataGrid>
|
</MudDataGrid>
|
||||||
|
</MudPaper>
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
MudDataGrid<Team> _dataGrid = null!;
|
MudDataGrid<Team> _dataGrid = null!;
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ This document outlines recommended style improvements to enhance the visual desi
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### 3. Improve Table Density and Spacing
|
### 3. Improve Table Density and Spacing ✅ COMPLETED
|
||||||
**Locations**: All MudDataGrid components
|
**Locations**: All MudDataGrid components
|
||||||
|
|
||||||
**Current State**: Tables lack visual distinction between rows and don't have optimal spacing.
|
**Current State**: Tables lack visual distinction between rows and don't have optimal spacing.
|
||||||
@@ -326,8 +326,8 @@ Consider using MudChip components with rank colors for better visual distinction
|
|||||||
|
|
||||||
### Phase 1: Quick Wins (High Impact, Low Effort)
|
### Phase 1: Quick Wins (High Impact, Low Effort)
|
||||||
1. ✅ Fix logout button (MudBlazor consistency)
|
1. ✅ Fix logout button (MudBlazor consistency)
|
||||||
2. Add elevation to data grids and content containers
|
2. ✅ Add elevation to data grids and content containers
|
||||||
3. Add table density and hover properties
|
3. ✅ Add table density and hover properties
|
||||||
|
|
||||||
### Phase 2: Visual Polish (Medium Impact, Medium Effort)
|
### Phase 2: Visual Polish (Medium Impact, Medium Effort)
|
||||||
4. Audit and ensure button hierarchy consistency
|
4. Audit and ensure button hierarchy consistency
|
||||||
|
|||||||
Reference in New Issue
Block a user