File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ require(['gitbook'], function (gitbook) {
1212 size,
1313 count
1414 } ) {
15- var width = size === "large" ? "170px " : "160xp " ;
16- var height = size === "large" ? "30" : "20xp " ;
15+ var width = size === "large" ? "170 " : "160 " ;
16+ var height = size === "large" ? "30" : "20 " ;
1717 var extraParam = type === "watch" ? "&v=2" : "" ;
1818 return `<a class="btn pull-right" aria-label="github">
19- <iframe style="display:inline-block;vertical-align:middle;" src="https://ghbtns.com/github-btn.html?user=${ user } &repo=${ repo } &type=${ type } &count=${ count } &size=${ size } ${ extraParam } " frameborder="0" scrolling="0" width="${ width } " height="${ height } "></iframe>
19+ <iframe style="display:inline-block;vertical-align:middle;" src="https://ghbtns.com/github-btn.html?user=${ user } &repo=${ repo } &type=${ type } &count=${ count } &size=${ size } ${ extraParam } " frameborder="0" scrolling="0" width="${ width } px " height="${ height } px "></iframe>
2020 </a>` ;
2121 }
2222
You can’t perform that action at this time.
0 commit comments