mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-02 10:52:35 +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')}>
|
||||
Get Started
|
||||
</Link>
|
||||
<span className={styles.indexCtasGitHubButton}>
|
||||
<span className={styles.indexCtasGitHubButtonWrapper}>
|
||||
<iframe
|
||||
className={styles.indexCtasGitHubButton}
|
||||
src="https://ghbtns.com/github-btn.html?user=facebook&repo=docusaurus&type=star&count=true&size=large"
|
||||
frameBorder={0}
|
||||
scrolling={0}
|
||||
width={160}
|
||||
height={30}
|
||||
title="GitHub Stars"
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue