mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-07 05:12:31 +02:00
fix(v2): remove obsolete iframe attrs (#1986)
This commit is contained in:
parent
37ec85be97
commit
b1867e99be
2 changed files with 8 additions and 4 deletions
|
@ -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&repo=docusaurus&type=star&count=true&size=large"
|
src="https://ghbtns.com/github-btn.html?user=facebook&repo=docusaurus&type=star&count=true&size=large"
|
||||||
frameBorder={0}
|
|
||||||
scrolling={0}
|
|
||||||
width={160}
|
width={160}
|
||||||
height={30}
|
height={30}
|
||||||
title="GitHub Stars"
|
title="GitHub Stars"
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue