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

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

Issue 2140113003: QuickView: Improve security by rendering images inside webview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 4 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
Index: ui/file_manager/file_manager/foreground/elements/files_quick_view.css
diff --git a/ui/file_manager/file_manager/foreground/elements/files_quick_view.css b/ui/file_manager/file_manager/foreground/elements/files_quick_view.css
index d8c855580ddc209a82142a1c4256769ff8da0761..e29aa7a75f0cacffa832fa5ba8803b1c8d521b33 100644
--- a/ui/file_manager/file_manager/foreground/elements/files_quick_view.css
+++ b/ui/file_manager/file_manager/foreground/elements/files_quick_view.css
@@ -17,8 +17,8 @@ paper-dialog {
.thumbnail {
flex: none;
- max-height: 100%;
- max-width: 100%;
+ height: 100%;
+ width: 100%;
}
video {
@@ -41,16 +41,18 @@ video::-webkit-media-controls-volume-slider {
}
#audio-artwork {
+ height: 300px;
margin: 0 auto;
- max-width: 300px;
+ width: 300px;
}
#mainPanel {
background-color: transparent;
- height: 100%;
+ bottom: 0;
margin: 0;
padding: 0;
- position: relative;
+ position: absolute;
+ top: 48px;
width: 100%;
}

Powered by Google App Engine
This is Rietveld 408576698