Skip to content

Commit

Permalink
Merge pull request #647 from jwplayer/bugfix/ie11-and-controlbar-maxw…
Browse files Browse the repository at this point in the history
…idth

Centering and max-width for skins without full width [Delivers #99798716 #96808212]
  • Loading branch information
robwalch committed Aug 3, 2015
2 parents 3d4847b + d48dfa0 commit 5faff23
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/css/imports/mixins.less
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,15 @@

.inset-controlbar() {
.jw-controlbar {
display: block;
// for correct display in IE browsers
display: inline-block;
// width assignment is required for IE11 to center correctly
width: 96%;
max-width: 50em;
margin: 0 auto;
max-width: 96%;
bottom: .7em;
left: 2%;
right: 2%;
}
&.jw-flag-audio-player .jw-controlbar {
bottom: 0; // overwrite the inset-controlbar mixin
Expand Down
1 change: 1 addition & 0 deletions src/js/api/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ define([
displaydescription: true,
mobilecontrols: false,
repeat: false,
castAvailable: false,
skin: 'seven',
stretching: stretchUtils.UNIFORM,
mute: false,
Expand Down

0 comments on commit 5faff23

Please sign in to comment.