tweak for ie10 styling issues

This commit is contained in:
Christopher Joe 2016-10-10 14:06:53 +13:00 committed by Damian Mooyman
parent 7acb3b5fc2
commit ba44382cb9
3 changed files with 13 additions and 8 deletions

View File

@ -9876,6 +9876,10 @@ body.cms{
margin-bottom:13px; margin-bottom:13px;
} }
.panel{
overflow:hidden;
}
.panel--padded .ui-tabs-nav{ .panel--padded .ui-tabs-nav{
float:none; float:none;
padding:0; padding:0;

View File

@ -327,15 +327,12 @@ $.entwine('ss', function($) {
var content = this.find('.cms-content'); var content = this.find('.cms-content');
var preview = this.find('.cms-preview'); var preview = this.find('.cms-preview');
content.css('min-width', ''); content.css({'min-width': ''});
preview.css('min-width', ''); preview.css({'min-width': ''});
if (content.width() + preview.width() >= options.minContentWidth + options.minPreviewWidth) { if (content.width() + preview.width() >= options.minContentWidth + options.minPreviewWidth) {
if (content.width() < options.minContentWidth) { content.css({'min-width': options.minContentWidth});
content.css('min-width', options.minContentWidth); preview.css({'min-width': options.minPreviewWidth});
} else {
preview.css('min-width', options.minPreviewWidth);
}
preview.trigger('enable'); preview.trigger('enable');
} else { } else {
preview.trigger('disable'); preview.trigger('disable');

View File

@ -685,6 +685,10 @@ body.cms {
} }
} }
.panel {
overflow: hidden;
}
.panel--padded .ui-tabs-nav { .panel--padded .ui-tabs-nav {
float: none; float: none;
padding: 0; padding: 0;