[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [qemu-web PATCH] css: avoid over-large images
From: |
Christian Borntraeger |
Subject: |
Re: [Qemu-devel] [qemu-web PATCH] css: avoid over-large images |
Date: |
Wed, 22 Nov 2017 17:48:28 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
On 11/22/2017 05:37 PM, Paolo Bonzini wrote:
> Make sure that images are scaled to fit inside their container.
Thanks God. I was thinking "what is wrong with the channel subsystem in QEMU?"
when
reading your subject.....
> 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;
>