Skip to content

Commit

Permalink
responsive CSS fix (#1533)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
joe-westcott authored Feb 3, 2023
1 parent e10640e commit 5966d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class ResponsivePlayer extends Component {
```css
.player-wrapper {
position: relative;
padding-top: 56.25% /* Player ratio: 100 / (1280 / 720) */
padding-top: 56.25%; /* Player ratio: 100 / (1280 / 720) */
}

.react-player {
Expand Down

0 comments on commit 5966d17

Please sign in to comment.