fix(v2): remove obsolete iframe attrs (#1986)

This commit is contained in:
Alexey Pyltsyn 2019-11-14 01:12:36 +03:00 committed by GitHub
parent 37ec85be97
commit b1867e99be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View file

@ -85,11 +85,10 @@ function Home() {
to={useBaseUrl('docs/introduction')}> to={useBaseUrl('docs/introduction')}>
Get Started Get Started
</Link> </Link>
<span className={styles.indexCtasGitHubButton}> <span className={styles.indexCtasGitHubButtonWrapper}>
<iframe <iframe
className={styles.indexCtasGitHubButton}
src="https://ghbtns.com/github-btn.html?user=facebook&amp;repo=docusaurus&amp;type=star&amp;count=true&amp;size=large" src="https://ghbtns.com/github-btn.html?user=facebook&amp;repo=docusaurus&amp;type=star&amp;count=true&amp;size=large"
frameBorder={0}
scrolling={0}
width={160} width={160}
height={30} height={30}
title="GitHub Stars" title="GitHub Stars"

View file

@ -121,10 +121,15 @@
padding: 18px 36px; padding: 18px 36px;
} }
.indexCtasGitHubButton { .indexCtasGitHubButtonWrapper {
vertical-align: sub; vertical-align: sub;
} }
.indexCtasGitHubButton {
border: none;
overflow: hidden;
}
@media only screen and (max-width: 768px) { @media only screen and (max-width: 768px) {
.hero { .hero {
padding-left: 20px; padding-left: 20px;