qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [qemu-web PATCH] css: avoid over-large images


From: Paolo Bonzini
Subject: [Qemu-devel] [qemu-web PATCH] css: avoid over-large images
Date: Wed, 22 Nov 2017 17:37:33 +0100

Make sure that images are scaled to fit inside their container.

Tested-by: Thomas Huth <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
 assets/css/style.css | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/assets/css/style.css b/assets/css/style.css
index 2d4fe0c..b828887 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -200,6 +200,10 @@
 
        /* Images */
 
+               img {
+                       max-width: 100%;
+               }
+
                .image
                {
                        display: inline-block;
-- 
2.14.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]