public/deck.js/extensions/scale/deck.scale.scss in deckrb-0.2.0 vs public/deck.js/extensions/scale/deck.scale.scss in deckrb-0.2.1
- old
+ new
@@ -1,17 +1,27 @@
-.csstransforms .deck-container.deck-scale {
- width:auto;
- -webkit-transform-origin: 50% 0;
- -moz-transform-origin: 50% 0;
- -o-transform-origin: 50% 0;
- -ms-transform-origin: 50% 0;
- transform-origin: 50% 0;
-
- &.deck-menu {
- width:70%;
- -webkit-transform:none !important;
- -moz-transform:none !important;
- -o-transform:none !important;
- -ms-transform:none !important;
- transform:none !important;
+.csstransforms .deck-container.deck-scale:not(.deck-menu) {
+ overflow:hidden;
+
+ > .slide {
+ -webkit-box-sizing: padding-box;
+ -moz-box-sizing: padding-box;
+ box-sizing: padding-box;
+ width:100%;
+ padding-bottom:20px;
+
+ > .deck-slide-scaler {
+ -webkit-transform-origin: 50% 0;
+ -moz-transform-origin: 50% 0;
+ -o-transform-origin: 50% 0;
+ -ms-transform-origin: 50% 0;
+ transform-origin: 50% 0;
+ }
}
-}
\ No newline at end of file
+}
+
+.csstransforms .deck-container.deck-menu .deck-slide-scaler {
+ -webkit-transform:none !important;
+ -moz-transform:none !important;
+ -o-transform:none !important;
+ -ms-transform:none !important;
+ transform:none !important;
+}