Skip to contentSkip to conversation

css: avoid over-large images

PATCH In review Paolo Bonzini 3 participants 3 messages Nov 22, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 css: avoid over-large images

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

---
 assets/css/style.css | 4 ++++
 1 file changed, 4 insertions(+)
assets/css/style.css +4 -0
index 2d4fe0c..b828887 100644
@@ -200,6 +200,10 @@
 
 	/* Images */
 
+		img {
+			max-width: 100%;
+		}
+
 		.image
 		{
 			display: inline-block;
Signature · 1 line
2.14.3
#1 lore raw
Quoted 1 line · Paolo Bonzini

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.....

Quoted 23 lines
---
 assets/css/style.css | 4 ++++
 1 file changed, 4 insertions(+)
assets/css/style.css +4 -0
index 2d4fe0c..b828887 100644
@@ -200,6 +200,10 @@
 
 	/* Images */
 
+		img {
+			max-width: 100%;
+		}
+
 		.image
 		{
 			display: inline-block;
#2 lore raw
Quoted 5 lines · On Wed, 22 Nov 2017 17:48:28 +0100 Christian Borntraeger…
Quoted 1 line · Paolo Bonzini

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 ;)

Quoted 26 lines
Quoted 24 lines
---
 assets/css/style.css | 4 ++++
 1 file changed, 4 insertions(+)
assets/css/style.css +4 -0
index 2d4fe0c..b828887 100644
@@ -200,6 +200,10 @@
 
 	/* Images */
 
+		img {
+			max-width: 100%;
+		}
+
 		.image
 		{
 			display: inline-block;