Browse Source

remove props.posTop subtraction from clearFloat layouts

pull/14/head
David DeSandro 15 years ago
parent
commit
4373cbc8a1
  1. 7
      src/jquery.molequul.js

7
src/jquery.molequul.js

@ -277,7 +277,7 @@
}, },
masonryMeasureContainerHeight : function( props ) { masonryMeasureContainerHeight : function( props ) {
props.containerHeight = Math.max.apply( Math, props.colYs ); props.containerHeight = Math.max.apply( Math, props.colYs ) - props.posTop;
return this; return this;
}, },
@ -360,7 +360,10 @@
// set the height of the container to the tallest column // set the height of the container to the tallest column
this.molequul( layoutMode + 'MeasureContainerHeight', props ); this.molequul( layoutMode + 'MeasureContainerHeight', props );
var containerStyle = { height: props.containerHeight - props.posTop }; var containerStyle = { height: props.containerHeight };
props.styleQueue.push({ $el: this, style: containerStyle }); props.styleQueue.push({ $el: this, style: containerStyle });

Loading…
Cancel
Save