summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2011-01-05 21:17:11 -0800
committerBharat Mediratta <bharat@menalto.com>2011-01-05 21:17:27 -0800
commitce70669b8f09a9154723df80992ab6afe02c1d5c (patch)
tree75431e799d2af240df1c745d120dbd8101f7e151 /modules
parente2b0f92007eb9ef2fad994c9f8957df0bfcbeccf (diff)
Visual tweaks for IE8 compatibility.
Set the min width and min height to what IE8 wants the thumbnail's box to be when the inner image maxes out at 120 pixels (specified in Organize_Controller::album_info()). Avoid using inline-block.
Diffstat (limited to 'modules')
-rw-r--r--modules/organize/css/organize.css9
-rw-r--r--modules/organize/views/organize_dialog.html.php4
2 files changed, 5 insertions, 8 deletions
diff --git a/modules/organize/css/organize.css b/modules/organize/css/organize.css
index 81f41f21..6b034fc2 100644
--- a/modules/organize/css/organize.css
+++ b/modules/organize/css/organize.css
@@ -5,8 +5,8 @@
.g-organize div.thumb {
padding: 8px;
margin: 8px;
- width: 128px;
- height: 128px;
+ width: 144px;
+ height: 149px;
vertical-align: middle;
float: left;
}
@@ -17,6 +17,7 @@
.g-organize div.thumb img {
border: 4px solid white;
+ margin: 0px;
}
.g-organize div.thumb:hover {
@@ -55,10 +56,6 @@
margin-right: 4px;
}
-div.multi-proxy div {
- display: inline-block;
-}
-
.g-organize .x-tree-node-el {
font-size: 12px;
line-height: 20px;
diff --git a/modules/organize/views/organize_dialog.html.php b/modules/organize/views/organize_dialog.html.php
index 8ba9b3cc..eaba6cdd 100644
--- a/modules/organize/views/organize_dialog.html.php
+++ b/modules/organize/views/organize_dialog.html.php
@@ -109,7 +109,7 @@
var div = document.createElement("div");
div.className = "multi-proxy";
for (var i = 0; i != selected_nodes.length; i++) {
- div.appendChild(selected_nodes[i].cloneNode(true));
+ div.appendChild(Ext.get(selected_nodes[i]).dom.firstChild.cloneNode(true));
if ((i + 1) % 3 == 0) {
div.appendChild(document.createElement("br"));
}
@@ -290,7 +290,7 @@
enableDD: true,
dropConfig: {
appendOnly: true,
- ddGroup: "organizeDD",
+ ddGroup: "organizeDD"
},
listeners: {
"click": function(node) {