Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(893)

Unified Diff: ui/file_manager/file_manager/foreground/css/file_manager.css

Issue 338253003: Fix the position of drag thumbnail when the scale settings is not 100%. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Stop to report an errors of non image files. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/js/file_transfer_controller.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/css/file_manager.css
diff --git a/ui/file_manager/file_manager/foreground/css/file_manager.css b/ui/file_manager/file_manager/foreground/css/file_manager.css
index d43ac045e3e6aa57aa91881c252009c23b2fa582..99d5d7d792eb5aee8ee4ca4cc89668b921dfb907 100644
--- a/ui/file_manager/file_manager/foreground/css/file_manager.css
+++ b/ui/file_manager/file_manager/foreground/css/file_manager.css
@@ -1317,8 +1317,6 @@ body[overlay-visible] > :not(.overlay-pane) {
/* Invisible container for elements representing files while dragging. */
#drag-container {
left: 0;
- /* Hack for extra margins caused by setDragImage(). */
- padding: 1000px 0 0 1000px;
position: fixed;
top: 0;
z-index: -1; /* below .dialog-container */
@@ -1331,6 +1329,7 @@ body[overlay-visible] > :not(.overlay-pane) {
border-radius: 3px;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .2);
display: -webkit-box;
+ line-height: 0;
margin-bottom: 5px;
padding: 6px;
transition: opacity 200ms ease-in;
@@ -1345,18 +1344,6 @@ body[overlay-visible] > :not(.overlay-pane) {
display: -webkit-box;
}
-/* When changing these properties please preserve these conditions:
- 1. width == height (so that the rotated thumbnail does not look off-center)
- 2. width % 8 == 0 (to minimize rounding errors in the centering code) */
-#drag-container .img-container {
- -webkit-box-flex: 0;
- display: -webkit-box;
- height: 64px;
- overflow: hidden;
- position: relative;
- width: 64px;
-}
-
#drag-container .label {
-webkit-box-flex: 1;
font-weight: bold;
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/js/file_transfer_controller.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698