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')}>
Get Started
</Link>
<span className={styles.indexCtasGitHubButton}>
<span className={styles.indexCtasGitHubButtonWrapper}>
<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"
frameBorder={0}
scrolling={0}
width={160}
height={30}
title="GitHub Stars"

View file

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