Skip to content

Commit

Permalink
fix(FEC-11886): unable to remove SeekBarPlaybackContainer from player (
Browse files Browse the repository at this point in the history
…#653)

move `SeekBarPlaybackContainer` into the `SeekBar` Area

Solves FEC-11886
  • Loading branch information
yairans committed Jan 24, 2022
1 parent 66cf301 commit 71f5934
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
12 changes: 1 addition & 11 deletions src/components/bottom-bar/_bottom-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@
}
}
.bottom-bar-area {
position: absolute;
top: 0;
left: 0;
width: calc(100% - #{2 * $gui-gutter}px);
height: calc(100% - #{$bottom-bar-bottom-gutter}px);
margin: 0 #{$gui-gutter}px #{$bottom-bar-bottom-gutter}px;
position: relative;
pointer-events: none;
}
.right-controls {
Expand Down Expand Up @@ -102,11 +97,6 @@
.bottom-bar {
padding: 0 #{$gui-small-gutter}px #{$bottom-bar-bottom-gutter}px;

.bottom-bar-area {
width: calc(100% - #{2 * $gui-small-gutter}px);
margin: 0 #{$gui-small-gutter}px #{$bottom-bar-bottom-gutter}px;
}

.time-display {
padding-left: 0;
}
Expand Down
4 changes: 1 addition & 3 deletions src/components/bottom-bar/bottom-bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,8 @@ class BottomBar extends Component {
return (
<div ref={this._ref} className={styleClass.join(' ')}>
<div className={style.bottomBarArea}>
<PlayerArea name={'BottomBar'} />
<PlayerArea name={'BottomBar'}>{props.children}</PlayerArea>
</div>
{props.children}

<div className={style.leftControls}>
<PlayerArea name={'BottomBarLeftControls'}>{leftControls}</PlayerArea>
</div>
Expand Down

0 comments on commit 71f5934

Please sign in to comment.