Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

[Assembly v1] Video #511

Merged
merged 2 commits into from
Sep 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ exports[`phone iOS landscape renders as expected 1`] = `
className="relative overflow-hidden"
>
<div
className="relative flex-parent flex-parent--center-main flex-parent--center-cross bg-gray"
className="relative flex flex--center-main flex--center-cross bg-gray"
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`video Basic. Your system settings do not prefer reduced motion, the video will autoplay (unless your browser settings block autoplay). renders as expected 1`] = `
<div
className="relative flex-parent flex-parent--center-main flex-parent--center-cross bg-gray"
className="relative flex flex--center-main flex--center-cross bg-gray"
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
Expand Down Expand Up @@ -54,7 +54,7 @@ exports[`video Basic. Your system settings do not prefer reduced motion, the vid

exports[`video Reduced motion renders as expected 1`] = `
<div
className="relative flex-parent flex-parent--center-main flex-parent--center-cross bg-gray"
className="relative flex flex--center-main flex--center-cross bg-gray"
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
Expand Down Expand Up @@ -104,7 +104,7 @@ exports[`video Reduced motion renders as expected 1`] = `

exports[`video The video will not autoplay. Sets autoplay={false} and loop={false}. A preview image will not appear on iOS. renders as expected 1`] = `
<div
className="relative flex-parent flex-parent--center-main flex-parent--center-cross bg-gray"
className="relative flex flex--center-main flex--center-cross bg-gray"
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
Expand Down Expand Up @@ -156,7 +156,7 @@ exports[`video The video will not autoplay. Sets autoplay={false} and loop={fals

exports[`video The video will not autoplay. Uses \`poster\` to set preview image. renders as expected 1`] = `
<div
className="relative flex-parent flex-parent--center-main flex-parent--center-cross bg-gray"
className="relative flex flex--center-main flex--center-cross bg-gray"
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
Expand Down
2 changes: 1 addition & 1 deletion src/components/video/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default class Video extends React.PureComponent {

return (
<div
className="relative flex-parent flex-parent--center-main flex-parent--center-cross bg-gray"
className="relative flex flex--center-main flex--center-cross bg-gray"
onMouseOver={this.onHover}
onMouseLeave={this.onOut}
onFocus={this.onHover}
Expand Down