Skip to content

Commit

Permalink
fix(video player): thumbnail and play button issue (#11450)
Browse files Browse the repository at this point in the history
### Related Ticket(s)

Closes #11399

### Description

Video component has no play button and thumbnail is not correctly displayed.

### Changelog

**Changed**

- `padding-block-start` css property for the `c4d-image` component is changed to 0.

<!-- React and Web Component deploy previews are enabled by default. -->
<!-- To enable additional available deploy previews, apply the following -->
<!-- labels for the corresponding package: -->
<!-- *** "test: e2e": Codesandbox examples and e2e integration tests -->
<!-- *** "package: services": Services -->
<!-- *** "package: utilities": Utilities -->
<!-- *** "RTL": React / Web Components (RTL) -->
<!-- *** "feature flag": React / Web Components (experimental) -->
  • Loading branch information
sangeethababu9223 authored Jan 31, 2024
1 parent 7aa1cf3 commit 1bfb57a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ $aspect-ratios: ((16, 9), (9, 16), (2, 1), (1, 2), (4, 3), (3, 4), (1, 1));
}
}
}
#{$c4d-prefix}-image {
padding-block-start: 0;
}
}

:host(#{$c4d-prefix}-video-player[background-mode='true']),
Expand Down

0 comments on commit 1bfb57a

Please sign in to comment.