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
|
// if total width is slightly smaller than
|
||||||
// actual div width then add 1 to each
|
// actual div width then add 1 to each
|
||||||
// photo width till they match
|
// photo width till they match
|
||||||
i = 0;
|
|
||||||
while (tw < w) {
|
/*i = 0;
|
||||||
|
while (tw < w-1) {
|
||||||
row.photos[i].style.width++;
|
row.photos[i].style.width++;
|
||||||
i = (i + 1) % c;
|
i = (i + 1) % c;
|
||||||
tw++;
|
tw++;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
// if total width is slightly bigger than
|
// if total width is slightly bigger than
|
||||||
// actual div width then subtract 1 from each
|
// actual div width then subtract 1 from each
|
||||||
// photo width till they match
|
// photo width till they match
|
||||||
i = 0;
|
i = 0;
|
||||||
while (tw > w) {
|
while (tw > w-1) {
|
||||||
row.photos[i].style.width--;
|
row.photos[i].style.width--;
|
||||||
i = (i + 1) % c;
|
i = (i + 1) % c;
|
||||||
tw--;
|
tw--;
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ ul.color-picker li a {
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
.umb-photo-folder .picrow{
|
.umb-photo-folder .picrow{
|
||||||
width: 100%;
|
overflow-y: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.umb-photo-folder .picrow a, .umb-photo-preview{
|
.umb-photo-folder .picrow a, .umb-photo-preview{
|
||||||
|
|||||||
Reference in New Issue
Block a user