Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Commit

Permalink
[fit] fix bad interaction with padding and box-sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
twitwi committed Nov 20, 2013
1 parent 76dee7d commit 04ff5b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/fit/deck.fit.js
Expand Up @@ -43,8 +43,8 @@
}
});
$.each(rootSlides, function(i, $slide) {
$slide.width(sdw);
$slide.height(sdh);
$slide.css('width', sdw);
$slide.css('height', sdh);
$.each('Webkit Moz O ms Khtml'.split(' '), function(i, prefix) {
if (scale == 1) {
$slide.css(prefix + 'Transform', '');
Expand Down

0 comments on commit 04ff5b7

Please sign in to comment.