Skip to content

Commit 634fe3c

Browse files
fix nested flexbox items chrome bug
1 parent 93a977c commit 634fe3c

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

player/modules/ViewVideo/module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ FrameTrail.defineModule('ViewVideo', function(){
658658
- $('#Titlebar').height()
659659
- editBorder,
660660
_video = $(Video);
661-
661+
662662
if (animate) {
663663
VideoContainer.css({
664664
'transition-duration': '',

player/modules/ViewVideo/style.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ path {
1010
justify-content: flex-start;
1111
align-content: stretch;
1212
align-items: flex-start;
13-
position: relative;
13+
position: absolute;
1414
width: 100%;
1515
height: 100%;
1616
overflow: hidden;
@@ -648,7 +648,7 @@ path {
648648
order: 0;
649649
flex: 0 0 400px;
650650
min-width: 400px;
651-
height: 100%;
651+
align-self: stretch;
652652
}
653653

654654
.editActive[data-edit-mode="links"] #HypervideoContainer #InfoAreaRight, .editActive[data-edit-mode="overlays"] #HypervideoContainer #InfoAreaRight, .editActive[data-edit-mode="codesnippets"] #HypervideoContainer #InfoAreaRight, .editActive[data-edit-mode="annotations"] #HypervideoContainer #InfoAreaRight {
@@ -729,8 +729,7 @@ path {
729729
position: relative;
730730
order: 0;
731731
flex: 1 1 auto;
732-
height: 100%;
733-
align-self: auto;
732+
align-self: stretch;
734733
background: transparent;
735734
overflow: hidden;
736735
-moz-transition-property: width;

0 commit comments

Comments
 (0)