Skip to content

Commit 92410d1

Browse files
authored
Fix Blazor error UI CSS, making the dismiss button visible (#50846)
1 parent 362cdcd commit 92410d1

File tree

10 files changed

+10
-1
lines changed
  • src
    • Components
      • Samples
      • WebAssembly
        • Samples/HostedBlazorWebassemblyApp/Client/wwwroot/css
        • testassets/StandaloneApp/wwwroot/css
      • WebView
        • Samples/PhotinoPlatform/testassets/PhotinoTestApp/wwwroot/css
        • test/E2ETest/wwwroot/css
      • test/testassets
    • ProjectTemplates/Web.ProjectTemplates/content

10 files changed

+10
-1
lines changed

src/Components/Samples/BlazorServerApp/wwwroot/css/site.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ app {
120120
background: lightyellow;
121121
bottom: 0;
122122
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
123+
box-sizing: border-box;
123124
display: none;
124125
left: 0;
125126
padding: 0.6rem 1.25rem 0.7rem 1.25rem;

src/Components/Samples/BlazorUnitedApp/wwwroot/css/site.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ a, .btn-link {
4040
background: lightyellow;
4141
bottom: 0;
4242
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
43+
box-sizing: border-box;
4344
display: none;
4445
left: 0;
4546
padding: 0.6rem 1.25rem 0.7rem 1.25rem;

src/Components/WebAssembly/Samples/HostedBlazorWebassemblyApp/Client/wwwroot/css/app.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ a, .btn-link {
3232
background: lightyellow;
3333
bottom: 0;
3434
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
35+
box-sizing: border-box;
3536
display: none;
3637
left: 0;
3738
padding: 0.6rem 1.25rem 0.7rem 1.25rem;

src/Components/WebAssembly/testassets/StandaloneApp/wwwroot/css/app.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ app {
119119
background: lightyellow;
120120
bottom: 0;
121121
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
122+
box-sizing: border-box;
122123
display: none;
123124
left: 0;
124125
padding: 0.6rem 1.25rem 0.7rem 1.25rem;

src/Components/WebView/Samples/PhotinoPlatform/testassets/PhotinoTestApp/wwwroot/css/app.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
background: lightyellow;
33
bottom: 0;
44
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
5+
box-sizing: border-box;
56
display: none;
67
left: 0;
78
padding: 0.6rem 1.25rem 0.7rem 1.25rem;

src/Components/WebView/test/E2ETest/wwwroot/css/app.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
background: lightyellow;
33
bottom: 0;
44
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
5+
box-sizing: border-box;
56
display: none;
67
left: 0;
78
padding: 0.6rem 1.25rem 0.7rem 1.25rem;

src/Components/test/testassets/BasicTestApp/wwwroot/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
background: lightyellow;
1111
bottom: 0;
1212
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
13+
box-sizing: border-box;
1314
display: none;
1415
left: 0;
1516
padding: 0.6rem 1.25rem 0.7rem 1.25rem;
1617
position: fixed;
1718
width: 100%;
1819
z-index: 1000;
19-
box-sizing: border-box;
2020
}
2121

2222
#blazor-error-ui .dismiss {

src/Components/test/testassets/ComponentsApp.Server/wwwroot/css/app.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ app {
119119
background: lightyellow;
120120
bottom: 0;
121121
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
122+
box-sizing: border-box;
122123
display: none;
123124
left: 0;
124125
padding: 0.6rem 1.25rem 0.7rem 1.25rem;

src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWeb-CSharp/Components/Layout/MainLayout.razor.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ main {
8282
background: lightyellow;
8383
bottom: 0;
8484
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
85+
box-sizing: border-box;
8586
display: none;
8687
left: 0;
8788
padding: 0.6rem 1.25rem 0.7rem 1.25rem;

src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/wwwroot/css/app.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ a, .btn-link {
4242
background: lightyellow;
4343
bottom: 0;
4444
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
45+
box-sizing: border-box;
4546
display: none;
4647
left: 0;
4748
padding: 0.6rem 1.25rem 0.7rem 1.25rem;

0 commit comments

Comments
 (0)