Skip to content
Permalink
Browse files
fix new overflow style bug. use current style on ec5 nav
  • Loading branch information
pissang committed Dec 4, 2020
1 parent 0428675 commit ed7d80479d423c7dd0c3d242cbb1362a457555c4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
@@ -36,7 +36,7 @@ block extra_js
block global_args_extra

script(type="text/javascript").
document.getElementById('nav-doc').className = 'active';
document.getElementById('nav-ec5').className = 'active';
window.globalArgsExtra.version = '#{homeVersion}';
echartsDoc.init('#ec-doc-main', window.globalArgsExtra);

@@ -33,7 +33,7 @@ block extra_js
block global_args_extra

script(type="text/javascript").
document.getElementById('nav-doc').className = 'active';
document.getElementById('nav-ec5').className = 'active';
window.globalArgsExtra.version = '#{homeVersion}';
window.globalArgsExtra.cdnRoot = EC_WWW_CDN_PAY_ROOT + '/next/examples';
echartsExample.init('#ec-example-main', window.globalArgsExtra);
@@ -48,12 +48,13 @@ $nav-height: 51px;

.new {
display: inline-block;
padding: 2px 5px;
padding: 0 5px;
background-color: $clr-secondary;
color: #fff;
font-size: 12px;
border-radius: 3px;
transform: scale(0.65);
vertical-align: top;
}
}
&.open {

0 comments on commit ed7d804

Please sign in to comment.