Skip to content

Commit f309aeb

Browse files
ignore aspect ration on apple help video
1 parent 2d4b5ab commit f309aeb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

web/src/shared/components/AppleHelpModal/AppleHelpModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const AppleHelpModal = ({ isOpen, onClose }: Props) => {
2222
>
2323
<p>{m.client_download_apple_help_content_1()}</p>
2424
<SizedBox height={ThemeSpacing.Xl} />
25-
<video autoPlay loop playsInline preload="auto">
25+
<video loop playsInline controls autoPlay preload="auto">
2626
<source src={`${apple_video_src}#t=0.1`} type="video/mp4" />
2727
</video>
2828
<SizedBox height={ThemeSpacing.Xl} />

web/src/shared/components/AppleHelpModal/style.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#apple-hardware-help .modal-content {
22
video {
3-
aspect-ratio: 16 / 9;
3+
aspect-ratio: auto;
4+
object-fit: cover;
45
width: 100%;
56
height: auto;
6-
object-fit: cover;
77
}
88

99
p {

web/src/shared/defguard-ui

0 commit comments

Comments
 (0)