Permalink
Browse files

MDL-35760 filemanager: ensuring the dnd arrow displays in the center …

…of the filemanager for all supported browsers
  • Loading branch information...
1 parent 2d7c5ee commit 1d747df1054fbe906199009dbc63a38041f63d3a @markn86 markn86 committed Nov 21, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 files/renderer.php
  2. +1 −1 theme/base/style/filemanager.css
View
@@ -220,9 +220,9 @@ private function fm_print_generallayout($fm) {
<div class="fm-content-wrapper">
<div class="fp-content"></div>
<div class="fm-empty-container">
- <span class="dndupload-message">'.$strdndenabledinbox.'<br/><span class="dndupload-arrow"></span></span>
+ <div class="dndupload-message">'.$strdndenabledinbox.'<br/><div class="dndupload-arrow"></div></div>
</div>
- <div class="dndupload-target">'.$strdroptoupload.'<br/><span class="dndupload-arrow"></span></div>
+ <div class="dndupload-target">'.$strdroptoupload.'<br/><div class="dndupload-arrow"></div></div>
<div class="dndupload-uploadinprogress">'.$icon_progress.'</div>
</div>
<div class="filemanager-updating">'.$icon_progress.'</div>
@@ -345,7 +345,7 @@ a.ygtvspacer:hover {color: transparent;text-decoration: none;}
.dndsupported .dndupload-ready .dndupload-target {display:block;}
.dndupload-uploadinprogress {display:none;text-align:center;}
.dndupload-uploading .dndupload-uploadinprogress {display:block;}
-.dndupload-arrow {background:url([[pix:theme|fp/dnd_arrow]]) center no-repeat;width:60px;height:80px;position:absolute;margin-left: -28px;top: 5px;}
+.dndupload-arrow {background:url([[pix:theme|fp/dnd_arrow]]) center no-repeat;width:100%;height:80px;position:absolute;margin-left: -28px;top: 5px;}
.fitem.disabled .filepicker-container, .fitem.disabled .fm-empty-container {display:none;}
/*

0 comments on commit 1d747df

Please sign in to comment.