projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0326151
)
Roo/bootstrap/LayoutMasonry.js
author
Alan Knowles
<alan@roojs.com>
Tue, 20 Oct 2015 10:22:29 +0000
(18:22 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 20 Oct 2015 10:22:29 +0000
(18:22 +0800)
Roo/bootstrap/LayoutMasonry.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/LayoutMasonry.js
b/Roo/bootstrap/LayoutMasonry.js
index
c2cad17
..
1538424
100644
(file)
--- a/
Roo/bootstrap/LayoutMasonry.js
+++ b/
Roo/bootstrap/LayoutMasonry.js
@@
-240,7
+240,10
@@
Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component, {
// if first elem has no width, default to size of container
}
-
+
+ // column width is fixed at the top - however if container width get's smaller we should
+ // reduce it...
+
var columnWidth = this.columnWidth += this.gutter;
// calculate columns