Skip to content

Commit f75557f

Browse files
TonySynenkojennifer-shehane
authored andcommitted
style fixes for empty banners file (#2017)
1 parent 45f8753 commit f75557f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

themes/cypress/source/css/_partial/sidebar.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
left: 0;
99
bottom: 0;
1010
border-right: 1px solid #f0f3f2;
11-
padding-top: 0;
11+
padding-top: 60px;
1212
transition: margin-top 0.2s linear;
1313

1414
&::-webkit-scrollbar {

themes/cypress/source/css/_partial/toc.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
opacity: 0.8;
99
justify-self: flex-end;
1010
position: fixed;
11-
top: 0;
11+
top: 60px;
1212
right: 0;
1313
bottom: 0;
1414
overflow-y: auto;

themes/cypress/source/js/banners_actualization.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77

88
function actualizeSidebarsMarginTop (margin) {
99
if (document.querySelector('#sidebar')) {
10-
document.querySelector('#sidebar').style.marginTop = margin.toString() + 'px'
10+
document.querySelector('#sidebar').style.marginTop = (margin - 60).toString() + 'px'
1111
}
1212

1313
if (document.querySelector('#article-toc')) {
14-
document.querySelector('#article-toc').style.marginTop = margin.toString() + 'px'
14+
document.querySelector('#article-toc').style.marginTop = (margin - 60).toString() + 'px'
1515
}
1616
}
1717

0 commit comments

Comments
 (0)