File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
src/Elastic.Documentation.Site Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 177
177
}
178
178
}
179
179
180
- # elastic-nav {
180
+ # elastic-nav-wrapper {
181
181
min-height : var (--offset-top );
182
+ }
182
183
184
+ # elastic-nav {
183
185
@media screen and (min-width : 1200px ) {
184
186
.oldNav {
185
187
& > div {
Original file line number Diff line number Diff line change 1
1
@inherits RazorSlice <Elastic .Documentation .Site .GlobalLayoutViewModel >
2
2
@if (Model .Features .PrimaryNavEnabled )
3
3
{
4
- <div id =" elastic-nav" hx-disable =" true" ></div >
5
- <script src =" https://www.elastic.co/elastic-nav.js" async ></script >
4
+ <div id =" elastic-nav-wrapper" >
5
+ <div id =" elastic-nav" hx-disable =" true" ></div >
6
+ <script src =" https://www.elastic.co/elastic-nav.js" ></script >
7
+ </div >
6
8
@await RenderPartialAsync (_SecondaryNav .Create (Model ))
7
9
}
8
10
else
You can’t perform that action at this time.
0 commit comments