Skip to content

Commit a04de7b

Browse files
Sample modified
1 parent 518d6b5 commit a04de7b

File tree

3 files changed

+25
-8
lines changed

3 files changed

+25
-8
lines changed

Server with Per Page and None/Components/App.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<base href="/" />
88
<link rel="stylesheet" href="bootstrap/bootstrap.min.css" />
99
<link rel="stylesheet" href="app.css" />
10-
<link rel="stylesheet" href="Server with Per Page and None.styles.css" />
10+
@* <link rel="stylesheet" href="Server with Per Page and None.styles.css" /> *@
1111
<link rel="icon" type="image/png" href="favicon.png" />
1212
<link rel="stylesheet" href="_content/Syncfusion.Blazor.Themes/bootstrap5.css" />
1313
<script type="text/javascript" src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js"></script>

Server with Per Page and None/Components/Pages/Home.razor

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
@page "/"
2+
@rendermode InteractiveServer
23

34
<PageTitle>Home</PageTitle>
45

5-
<h1>Hello, world!</h1>
6-
7-
Welcome to your new app.
86
<SfGrid DataSource="@Orders" AllowPaging="true" AllowSorting="true" AllowFiltering="true" AllowGrouping="true" />
97

108
@code {

Server with Per Page and None/wwwroot/app.css

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ a, .btn-link {
1313
}
1414

1515
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
16-
box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
16+
box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
1717
}
1818

1919
.content {
@@ -42,10 +42,29 @@ h1:focus {
4242
color: white;
4343
}
4444

45-
.blazor-error-boundary::after {
46-
content: "An error has occurred."
47-
}
45+
.blazor-error-boundary::after {
46+
content: "An error has occurred."
47+
}
4848

4949
.darker-border-checkbox.form-check-input {
5050
border-color: #929292;
5151
}
52+
53+
#blazor-error-ui {
54+
background: lightyellow;
55+
bottom: 0;
56+
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
57+
display: none;
58+
left: 0;
59+
padding: 0.6rem 1.25rem 0.7rem 1.25rem;
60+
position: fixed;
61+
width: 100%;
62+
z-index: 1000;
63+
}
64+
65+
#blazor-error-ui .dismiss {
66+
cursor: pointer;
67+
position: absolute;
68+
right: 0.75rem;
69+
top: 0.5rem;
70+
}

0 commit comments

Comments
 (0)