Skip to content

Commit 5ce73f7

Browse files
authored
fix(video-player): play icon to be positioned at the lower right (#12584)
### Related Ticket(s) https://jsw.ibm.com/browse/ADCMS-11455 ### Description Updating the position of the play/pause icon in the video players to be at the lower right corner. <img width="967" height="770" alt="image" src="https://github.com/user-attachments/assets/b11d2fd3-4736-41c1-9543-01b2b5e0e86c" />
1 parent 6b8fbed commit 5ce73f7

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

packages/styles/scss/components/video-player/_video-player.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,10 @@ $aspect-ratios: ((16, 9), (9, 16), (2, 1), (1, 2), (4, 3), (3, 4), (1, 1));
191191

192192
svg {
193193
position: absolute;
194-
inset-block-start: calc(50% - #{$spacing-07});
195-
inset-inline-end: calc(50% - #{$spacing-07});
194+
block-size: 2.5rem;
195+
inline-size: 2.5rem;
196+
inset-block-end: 1rem;
197+
inset-inline-end: 1rem;
196198

197199
circle,
198200
path {

0 commit comments

Comments
 (0)