* [Qemu-devel] [qemu-web PATCH] css: avoid over-large images
@ 2017-11-22 16:37 Paolo Bonzini
2017-11-22 16:48 ` Christian Borntraeger
0 siblings, 1 reply; 3+ messages in thread
From: Paolo Bonzini @ 2017-11-22 16:37 UTC (permalink / raw)
To: qemu-devel; +Cc: thuth
Make sure that images are scaled to fit inside their container.
Tested-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [qemu-web PATCH] css: avoid over-large images
2017-11-22 16:37 [Qemu-devel] [qemu-web PATCH] css: avoid over-large images Paolo Bonzini
@ 2017-11-22 16:48 ` Christian Borntraeger
2017-11-22 16:53 ` Cornelia Huck
0 siblings, 1 reply; 3+ messages in thread
From: Christian Borntraeger @ 2017-11-22 16:48 UTC (permalink / raw)
To: Paolo Bonzini, qemu-devel; +Cc: thuth
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 <thuth@redhat.com>
> Reviewed-by: Thomas Huth <thuth@redhat.com>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> 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;
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [qemu-web PATCH] css: avoid over-large images
2017-11-22 16:48 ` Christian Borntraeger
@ 2017-11-22 16:53 ` Cornelia Huck
0 siblings, 0 replies; 3+ messages in thread
From: Cornelia Huck @ 2017-11-22 16:53 UTC (permalink / raw)
To: Christian Borntraeger; +Cc: Paolo Bonzini, qemu-devel, thuth
On Wed, 22 Nov 2017 17:48:28 +0100
Christian Borntraeger <borntraeger@de.ibm.com> wrote:
> 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.....
Me too. Hurray for overloaded TLAs ;)
>
> > Tested-by: Thomas Huth <thuth@redhat.com>
> > Reviewed-by: Thomas Huth <thuth@redhat.com>
> > Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> > ---
> > 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;
> >
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-11-22 16:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-22 16:37 [Qemu-devel] [qemu-web PATCH] css: avoid over-large images Paolo Bonzini
2017-11-22 16:48 ` Christian Borntraeger
2017-11-22 16:53 ` Cornelia Huck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).