File tree Expand file tree Collapse file tree 1 file changed +5
-18
lines changed
src/Elastic.Documentation.Site/Assets Expand file tree Collapse file tree 1 file changed +5
-18
lines changed Original file line number Diff line number Diff line change 47
47
48
48
@media screen and (min-width : 767px ) {
49
49
: root {
50
- --offset-top : 123 px ;
50
+ --offset-top : 102 px ;
51
51
}
52
52
}
53
53
54
54
@media screen and (min-width : 992px ) {
55
55
: root {
56
- --offset-top : 131 px ;
56
+ --offset-top : 110 px ;
57
57
}
58
58
}
59
59
186
186
187
187
# elastic-nav {
188
188
@media screen and (min-width : 1200px ) {
189
- .oldNav {
190
- & > div {
191
- width : 100% ;
192
- max-width : var (--max-layout-width );
193
- }
194
- div : has (> div > nav ) {
195
- flex-grow : 1 ;
196
- justify-content : center;
197
- }
198
- }
199
- }
200
- @media screen and (min-width : 1536px ) {
201
- .oldNav {
202
- nav {
203
- margin-left : -74px ;
204
- }
189
+ [data-component = 'Container' ] {
190
+ /* subtract the padding */
191
+ max-width : calc (var (--max-layout-width ) - (var (--spacing ) * 10 ));
205
192
}
206
193
}
207
194
}
You can’t perform that action at this time.
0 commit comments