All working now, Fixes: U4-3722 Images in Media folder are huge

This commit is contained in:
Shannon
2013-12-11 18:05:04 +11:00
parent ed7175192b
commit 2e990a7869
3 changed files with 7 additions and 7 deletions

View File

@@ -95,7 +95,7 @@ angular.module("umbraco.directives.html")
newHeight = minDisplayHeight;
}
//always take the rounded down width so we know it will fit
return Math.floor(newHeight) - 1;
return Math.floor(newHeight);
}
else {

View File

@@ -243,11 +243,12 @@ ul.color-picker li a {
position: relative;
}
.umb-photo-folder .picrow div.pic:first-child {
margin-left:0px !important;
}
.umb-photo-folder .picrow div.pic:last-child {
margin-right:0px !important;
.umb-photo-folder .picrow div.pic {
margin: 0px;
padding: 0px;
border: none;
display: inline-block;
overflow: hidden;
}
.umb-photo-folder .picrow div a:first-child {

View File

@@ -2,7 +2,6 @@
<div class="picrow" ng-repeat="row in rows">
<div class="pic"
style="margin: 0px; padding: 0px; border: none; display: inline-block; overflow: hidden"
ng-style="img.style" ng-repeat="img in row">
<a href="#media/media/edit/{{img.id}}"