Skip to content

Commit 89893ea

Browse files
committed
Hide navigation on very small screen
The navigation is necessary. But, as is, the site is effectively unusable on very small screens. This update at least allows the editor to be used—even if users can't (easily) navigate to new pages without typing in the URL manually. In the future, we can revisit this by adding in a pull-out menu or something like that. Until then, this is a quick fix to keep the site at least basically usable.
1 parent a60501b commit 89893ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OnTopic.Editor.AspNetCore/Areas/Editor/Views/Shared/_Layout.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757
<!-- Primary (Treeview) Sidebar -->
5858
@if (!Model.IsModal) {
59-
<nav id="Sidebar" class="col-md-2 col-sm-3 sidebar" role="navigation">
59+
<nav id="Sidebar" class="col-md-2 col-sm-3 sidebar d-none d-sm-block" role="navigation">
6060
<div id="FixedSidebar">
6161
<div id="TreeView"></div>
6262
<text>

0 commit comments

Comments
 (0)