Skip to content

Commit 5966d17

Browse files
authored
responsive CSS fix (#1533)
Your player is great, thank you! I found a syntax error that breaks some of the responsive CSS. This tiny edit -- adding a single semicolon to one line of CSS -- fixes the problem.
1 parent e10640e commit 5966d17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ class ResponsivePlayer extends Component {
211211
```css
212212
.player-wrapper {
213213
position: relative;
214-
padding-top: 56.25% /* Player ratio: 100 / (1280 / 720) */
214+
padding-top: 56.25%; /* Player ratio: 100 / (1280 / 720) */
215215
}
216216

217217
.react-player {

0 commit comments

Comments
 (0)