Skip to content
Permalink
Browse files
fix nav active state. fix new font-size
  • Loading branch information
pissang committed Jan 25, 2021
1 parent e5f5455 commit 7490007e088af40bfc5f61d24037d9da2537e001
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
@@ -41,6 +41,7 @@ block extra_js
script(src="#{cdnThirdParty.beautifierJS}")
script(src="#{getAssetUrl(cdnPayRoot, ecWWWLang + '/js/doc-bundle.js')}")
script(type="text/javascript").
document.getElementById('nav-doc').className = 'active';
window.EC_WWW_CDN_PAY_ROOT = '#{cdnPayRoot}';

block global_args_extra
@@ -38,6 +38,7 @@ block extra_js
script(src="#{cdnThirdParty.elementUIJS}")
script(src="#{getAssetUrl(cdnPayRoot, 'examples/js/example-bundle.js')}")
script(type="text/javascript").
document.getElementById('nav-examples').className = 'active';
window.EC_WWW_CDN_PAY_ROOT = '#{cdnPayRoot}';

block global_args_extra
@@ -51,13 +51,12 @@ $collapse-break-point: 768px;
.new {
display: inline-block;
padding: 0 5px;
background-color: $clr-secondary;
background-color: #F72C5B;
color: #fff;
font-size: 10px;
font-size: 12px;
border-radius: 3px;
height: 15px;
// transform: scale(0.8);
vertical-align: middle;
transform: scale(0.8);
}
}
&.open {

0 comments on commit 7490007

Please sign in to comment.