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

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

Issue 419063004: Files.app: Move the position of dummy element for measuring the size of text. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed. Created 6 years, 5 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/text_measure.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 4f2d276c01f11f775b10ed0ff5a284bd82028b78..738ca493a4ba755909c35ba71c30554a5e767921 100644
--- a/ui/file_manager/file_manager/foreground/css/file_manager.css
+++ b/ui/file_manager/file_manager/foreground/css/file_manager.css
@@ -3,6 +3,7 @@
* found in the LICENSE file. */
/* The order of z-index:
+ * - -1: text-measure
* - 2: drag-selection-border
* - 3: preview-panel
* - 500: scrollbar
@@ -1964,3 +1965,11 @@ menuitem#thumbnail-view[lead]:not([disabled]) {
#progress-center li:not(.cancelable) button.cancel {
visibility: hidden;
}
+
+.text-measure {
+ pointer-events: none;
+ position: absolute;
+ top: 0;
+ visibility: hidden;
+ z-index: -1;
+}
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/js/text_measure.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698