WIP on photo folderresiizng on IE

This commit is contained in:
perploug
2013-11-12 10:05:26 +01:00
parent 289caa791a
commit cad0f8bb2a
2 changed files with 6 additions and 5 deletions

View File

@@ -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--;

View File

@@ -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{