Fix infographic images not scaling to browser width
Removed hard-coded pixel width/height attributes from <img> tags and tightened kdoc-diagram-img CSS (max-width:100%, overflow:hidden) so images scale fluidly at all viewport sizes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -8224,6 +8224,6 @@ body.lt-landing {
|
||||
|
||||
|
||||
/* Custom infographic diagram images (transparent-bg PNGs/WebPs) */
|
||||
.kdoc-diagram-img { margin: 2rem auto; max-width: 960px; }
|
||||
.kdoc-diagram-img picture,
|
||||
.kdoc-diagram-img img { display: block; width: 100%; height: auto; }
|
||||
.kdoc-diagram-img { margin: 2rem auto; max-width: 100%; overflow: hidden; }
|
||||
.kdoc-diagram-img picture { display: block; width: 100%; }
|
||||
.kdoc-diagram-img img { display: block; width: 100%; max-width: 100%; height: auto; }
|
||||
|
||||
Reference in New Issue
Block a user