Skip to content

Commit d22df4a

Browse files
authored
Fix mobile loading spinner
Merge pull request #35 from isc30/feature/demo
2 parents 3b4f5f8 + 38a74c5 commit d22df4a

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

demo/WasmHost/Shared/NavMenu.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="top-row pl-4 navbar navbar-dark">
2-
<a class="navbar-brand" href="">WasmHost</a>
2+
<a class="navbar-brand" href="">Blazor Lazy Loading</a>
33
<button class="navbar-toggler" @onclick="ToggleNavMenu">
44
<span class="navbar-toggler-icon"></span>
55
</button>

demo/WasmHost/wwwroot/css/global.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
top:0; left:0;
3333
width: 100%;
3434
height: 100%;
35-
position: absolute;
3635
background-color: black;
3736
color: white;
3837
}

demo/WasmHost/wwwroot/css/site.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,11 @@ app {
150150
.main .top-row a, .main .top-row .btn-link {
151151
margin-left: 0;
152152
}
153+
154+
.main .full {
155+
position: relative;
156+
margin-top: calc(50vh - 80px - 1.5em);
157+
}
153158
}
154159

155160
@media (min-width: 768px) {

0 commit comments

Comments
 (0)