WIP on photo folderresiizng on IE
This commit is contained in:
@@ -103,18 +103,19 @@ angular.module("umbraco.directives.html")
|
||||
// if total width is slightly smaller than
|
||||
// actual div width then add 1 to each
|
||||
// photo width till they match
|
||||
i = 0;
|
||||
while (tw < w) {
|
||||
|
||||
/*i = 0;
|
||||
while (tw < w-1) {
|
||||
row.photos[i].style.width++;
|
||||
i = (i + 1) % c;
|
||||
tw++;
|
||||
}
|
||||
}*/
|
||||
|
||||
// if total width is slightly bigger than
|
||||
// actual div width then subtract 1 from each
|
||||
// photo width till they match
|
||||
i = 0;
|
||||
while (tw > w) {
|
||||
while (tw > w-1) {
|
||||
row.photos[i].style.width--;
|
||||
i = (i + 1) % c;
|
||||
tw--;
|
||||
|
||||
@@ -200,7 +200,7 @@ ul.color-picker li a {
|
||||
// --------------------------------------------------
|
||||
|
||||
.umb-photo-folder .picrow{
|
||||
width: 100%;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
.umb-photo-folder .picrow a, .umb-photo-preview{
|
||||
|
||||
Reference in New Issue
Block a user