Skip to content

Commit efb2e1a

Browse files
authored
Merge pull request #96 from telerik/nav-rebranding
Top navigation rebranding
2 parents 41a56cb + ddb5fc6 commit efb2e1a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

_assets/css/_styles.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1571,7 +1571,7 @@ $border-color: #d9d9d9;
15711571
}
15721572

15731573
&.affix {
1574-
margin-top: 125px;
1574+
margin-top: 85px;
15751575
position: fixed;
15761576
top: 0;
15771577
z-index: 1015;
@@ -3228,7 +3228,7 @@ span.all-components-expanded-icon {
32283228
nav.TK-Nav {
32293229
position: sticky;
32303230
position: -webkit-sticky;
3231-
top: -40px;
3231+
top: 0;
32323232
transform: translateZ(0);
32333233
-webkit-transform: translateZ(0);
32343234
}
@@ -3252,6 +3252,10 @@ span.all-components-expanded-icon {
32523252
display: none;
32533253
}
32543254

3255+
.scroll & {
3256+
display: none;
3257+
}
3258+
32553259
.main-menu {
32563260
float: right;
32573261
position: relative;

_buildApi/BuildAPI/docfx-tmpl/src/styles/docfx.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ body {
1818
nav.TK-Nav {
1919
position: sticky;
2020
position: -webkit-sticky;
21-
top: -40px;
21+
top: 0;
2222
transform: translateZ(0);
2323
-webkit-transform: translateZ(0);
2424
}

0 commit comments

Comments
 (0)