Skip to content

Commit 2ed348b

Browse files
committed
Bump Fin App JS version and adjust Calendar width
1 parent 03b2446 commit 2ed348b

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

sample-applications/blazor-financial-dashboard/BlazorFinancialDashboard/Components/App.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<link rel="stylesheet" href="https://blazor.cdn.telerik.com/blazor/9.0.0/kendo-theme-material/swatches/material-main-dark.css" />
1212
<link rel="stylesheet" href="https://unpkg.com/@@progress/kendo-theme-utils/dist/all.css" />
1313
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" />
14-
<script src="https://blazor.cdn.telerik.com/blazor/8.1.1/telerik-blazor.min.js" defer></script>
14+
<script src="https://blazor.cdn.telerik.com/blazor/9.0.0/telerik-blazor.min.js" defer></script>
1515
<link rel="stylesheet" href="app.css" />
1616
<link rel="stylesheet" href="BlazorFinancialDashboard.styles.css" />
1717
<link rel="icon" type="image/png" sizes="48x48" href="favicon-48x48.png" />

sample-applications/blazor-financial-dashboard/BlazorFinancialDashboard/Components/Pages/Settings.razor

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</TelerikForm>
2929
</UICard>
3030

31-
<UICard Title="Card Information" ColSpanOnLargeScreen="8" ColSpanOnMediumScreen="6">
31+
<UICard Title="Card Information" ColSpanOnLargeScreen="7" ColSpanOnMediumScreen="6">
3232
<TelerikForm Model="@UserCard"
3333
Columns="@( IsLargeScreen ? 2 : 1 )"
3434
ColumnSpacing="var(--kendo-spacing-4)"
@@ -54,8 +54,8 @@
5454
</TelerikForm>
5555
</UICard>
5656

57-
<UICard Title="Calendar" ColSpanOnLargeScreen="4" ColSpanOnMediumScreen="6">
58-
<TelerikCalendar Size="@ThemeConstants.Calendar.Size.Small" />
57+
<UICard Title="Calendar" ColSpanOnLargeScreen="5" ColSpanOnMediumScreen="6">
58+
<TelerikCalendar Size="@ThemeConstants.Calendar.Size.Small" Class="centered-calendar" />
5959
</UICard>
6060

6161
@* <UICard Title="Weather" ColSpanOnLargeScreen="4" ColSpanOnMediumScreen="6"></UICard> *@

sample-applications/blazor-financial-dashboard/BlazorFinancialDashboard/Components/Pages/Transactions.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
Navigable="true"
2020
OnStateInit="@OnGridStateInit"
2121
Pageable="true"
22-
SelectionMode="@GridSelectionMode.Multiple"
22+
SelectionMode="@GridSelectionMode.Single"
2323
SelectedItems="@GridSelectedItems"
2424
SelectedItemsChanged="GridSelectedItemsChanged"
2525
ShowColumnMenu="true"
@@ -38,7 +38,7 @@
3838
PageOrientation="@GridPdfExportPageOrientation.Landscape" />
3939
</GridSettings>
4040
<GridColumns>
41-
<GridCheckboxColumn SelectAll="true" SelectAllMode="@GridSelectAllMode.All" ShowColumnMenu="false" />
41+
<GridCheckboxColumn SelectAll="false" ShowColumnMenu="false" />
4242
<GridColumn Field="@nameof(Transaction.Date)" DisplayFormat="{0:d}" />
4343
<GridColumn Field="@nameof(Transaction.Amount)" DisplayFormat="{0:c2}" TextAlign="@ColumnTextAlign.Right" HeaderClass="right-header" />
4444
<GridColumn Field="@nameof(Transaction.Merchant)"

sample-applications/blazor-financial-dashboard/BlazorFinancialDashboard/wwwroot/app.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,4 +225,11 @@ div.appbar-bottom.narrow {
225225

226226
.no-content-padding .k-tabstrip-content {
227227
padding-inline: 0;
228+
}
229+
230+
/* Settings */
231+
232+
div.centered-calendar {
233+
margin: 0 auto;
234+
width: 100%;
228235
}

0 commit comments

Comments
 (0)