Skip to content

Commit

Permalink
Fixed display navbar on map page
Browse files Browse the repository at this point in the history
  • Loading branch information
dyatlov-a committed Sep 19, 2024
1 parent f67d744 commit 3c326bd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
background: rgba(0, 0, 0, .3);
position: relative;
height: 70px;
z-index: 999;
}
.navbar-container {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/Inc.TeamAssistant.WebUI/Features/Map/MapPage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

private ElementReference _map;
private IJSObjectReference? _mapModule;
private string CssClass => DisableLayout ? string.Empty : "map__navbar";
private string CssClass => DisableLayout ? string.Empty : "map_navbar";
private IReadOnlyDictionary<string, string> FeatureNamesLookup => new Dictionary<string, string>
{
["Review"] = Resources[Messages.Constructor_FeatureReviewerName],
Expand Down
2 changes: 1 addition & 1 deletion src/Inc.TeamAssistant.WebUI/Features/Map/MapPage.razor.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
padding: 0;
margin: 0;
}
.map__navbar {
.map_navbar {
margin-top: -70px;
}
2 changes: 1 addition & 1 deletion src/Inc.TeamAssistant.WebUI/wwwroot/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ html {
.marker-btn:hover {
text-decoration: none;
}
.map__navbar .leaflet-top {
.map_navbar .leaflet-top {
top: 80px;
}
.map-popup {
Expand Down

0 comments on commit 3c326bd

Please sign in to comment.