Skip to content

Commit 12086fe

Browse files
authored
[Blazor][Accessibility] At reflow resolution "Hamburger" control is not visible clearly (#57127)
1 parent c30c7ea commit 12086fe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717

1818
.top-row {
19-
height: 3.5rem;
19+
min-height: 3.5rem;
2020
background-color: rgba(0,0,0,0.4);
2121
}
2222

src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Layout/NavMenu.razor.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
}
44

55
.top-row {
6-
height: 3.5rem;
6+
min-height: 3.5rem;
77
background-color: rgba(0,0,0,0.4);
88
}
99

@@ -74,7 +74,7 @@
7474
/* Never collapse the sidebar for wide screens */
7575
display: block;
7676
}
77-
77+
7878
.nav-scrollable {
7979
/* Allow sidebar to scroll for tall menus */
8080
height: calc(100vh - 3.5rem);

0 commit comments

Comments
 (0)