Ticket #4521: 4521.patch
File 4521.patch, 1.6 KB (added by , 14 years ago) |
---|
-
_source/skins/kama/skin.js
212 212 height = data.height, 213 213 dialog = data.dialog, 214 214 contents = dialog.parts.contents, 215 footer = dialog.parts.footer, 215 216 standardsMode = !CKEDITOR.env.quirks; 216 217 217 218 if ( data.skin != 'kama' ) … … 232 233 'min-height' : height + 'px' 233 234 }); 234 235 236 // Temporary fix for footer scretch dialog size problem in IE7 (#4521). 237 if( CKEDITOR.env.ie7Compat ) 238 footer.setStyles( { width : ( contents.$.offsetWidth - 2 ) + 'px' } ); 239 235 240 if ( !CKEDITOR.env.ie ) 236 241 return; 237 242 -
_source/skins/kama/dialog.css
435 435 position: relative; 436 436 } 437 437 438 /* IE7 could shift the footer when background style changed with the above styles, 439 use another approach for right align here.(#4521)*/ 440 .cke_skin_kama .cke_browser_ie7 .cke_dialog_footer_buttons 441 { 442 display: block; 443 margin-right: 12px; 444 margin-left: auto; 445 width: auto; 446 position: static; 447 } 448 .cke_skin_kama .cke_browser_ie7.cke_rtl .cke_dialog_footer_buttons 449 { 450 margin-left: 12px; 451 margin-right: auto; 452 } 453 438 454 /* Gecko 1.8 does not support for display: inline-table */ 439 455 .cke_skin_kama .cke_browser_gecko18 .cke_dialog_footer_buttons 440 456 {