style: don't complain about iframe allowTransparency

See also https://stackoverflow.com/a/5182176
This commit is contained in:
Christopher Willis-Ford 2024-02-26 13:29:14 -08:00
parent 5dcb198737
commit 34aee46da4
3 changed files with 7 additions and 7 deletions

View file

@ -7,7 +7,7 @@ const ExtensionVideo = props => (
<div className="video-player">
<iframe
allowFullScreen
allowTransparency="true"
allowTransparency // eslint-disable-line react/no-unknown-property
frameBorder="0"
height="180"
scrolling="no"

View file

@ -1382,7 +1382,7 @@ class AnnualReport extends React.Component {
>
<iframe
src="https://scratch.mit.edu/projects/601589442/embed"
allowTransparency="true"
allowTransparency // eslint-disable-line react/no-unknown-property
width="360"
height={((360 * .76) + 45)}
frameBorder="0"
@ -1396,7 +1396,7 @@ class AnnualReport extends React.Component {
>
<iframe
src="https://scratch.mit.edu/projects/601589442/embed"
allowTransparency="true"
allowTransparency // eslint-disable-line react/no-unknown-property
width="430"
height={((430 * .76) + 45)}
frameBorder="0"
@ -1407,7 +1407,7 @@ class AnnualReport extends React.Component {
<MediaQuery maxWidth={frameless.mobile - 1}>
<iframe
src="https://scratch.mit.edu/projects/601589442/embed"
allowTransparency="true"
allowTransparency // eslint-disable-line react/no-unknown-property
width="300"
height={((300 * .76) + 45)}
frameBorder="0"
@ -1696,7 +1696,7 @@ class AnnualReport extends React.Component {
>
<iframe
src="https://scratch.mit.edu/projects/601595010/embed"
allowTransparency="true"
allowTransparency // eslint-disable-line react/no-unknown-property
width="480"
height={((480 * .76) + 45)}
frameBorder="0"
@ -1707,7 +1707,7 @@ class AnnualReport extends React.Component {
<MediaQuery maxWidth={frameless.mobile - 1}>
<iframe
src="https://scratch.mit.edu/projects/601595010/embed"
allowTransparency="true"
allowTransparency // eslint-disable-line react/no-unknown-property
width="300"
height={((300 * .76) + 45)}
frameBorder="0"

View file

@ -29,7 +29,7 @@ const Landing = props => (
<div className="video-player">
<iframe
allowFullScreen
allowTransparency="true"
allowTransparency // eslint-disable-line react/no-unknown-property
frameBorder="0"
height="180"
scrolling="no"