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

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

Issue 1608143002: support animated GIF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add assert to pass closure compiler Created 4 years, 11 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
Index: ui/file_manager/gallery/css/gallery.css
diff --git a/ui/file_manager/gallery/css/gallery.css b/ui/file_manager/gallery/css/gallery.css
index c227e0f612a51919ed7b2435c7abc02f6884285e..8c1f468d6ff65c188cc3e03d9c8a23490f5b0131 100644
--- a/ui/file_manager/gallery/css/gallery.css
+++ b/ui/file_manager/gallery/css/gallery.css
@@ -124,12 +124,6 @@ files-toggle-ripple::shadow .ripple.activated {
opacity: 0;
}
-/* Full resolution image is invisible unless printing. */
-.gallery .image-container > canvas.fullres {
- opacity: 0;
- position: absolute;
-}
-
@media print {
/* Do not print anything but the image content. */
.gallery > :not(.content) {
@@ -144,13 +138,8 @@ files-toggle-ripple::shadow .ripple.activated {
display: -webkit-box;
}
- /* Do not print the screen resolution image. */
- .gallery .image-container > canvas.image {
- display: none !important;
- }
-
/* Print the full resolution image instead. */
- .gallery .image-container > canvas.fullres {
+ .gallery .image-container > .image {
height: auto !important;
max-height: 100%;
max-width: 100%;
« no previous file with comments | « ui/file_manager/file_manager/background/js/test_util_base.js ('k') | ui/file_manager/gallery/js/image_editor/commands.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698