All working now, Fixes: U4-3722 Images in Media folder are huge
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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}}"
|
||||
|
||||
Reference in New Issue
Block a user