Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7d035e6

Browse files
DButoyezDerrick Butoyi
andauthored
Fix images not visible at 400% (#380)
* Fix images not visible at 400% * target only webinar saleforce images --------- Co-authored-by: Derrick Butoyi <[email protected]>
1 parent 2ff1748 commit 7d035e6

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

public/css/site.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,22 @@ td {
439439
border-top-color: #737373;
440440
}
441441

442+
.post-content>p> img {
443+
max-width: 100%; /* Ensures images scale with the container */
444+
height: auto; /* Maintains aspect ratio */
445+
display: block; /* Prevents inline spacing issues */
446+
margin: 0 auto; /* Centers images */
447+
image-rendering: crisp-edges;
448+
image-rendering: -webkit-optimize-contrast;
449+
}
450+
451+
@media (max-width: 768px) {
452+
.post-content>p> img {
453+
width: 100%; /* Ensures images fit smaller screens */
454+
height: auto;
455+
}
456+
}
457+
442458
.other-protocols-container {
443459
display: flex;
444460
flex-direction: column;

0 commit comments

Comments
 (0)