Skip to content

Commit 7eb7b9b

Browse files
style(css): stop images from overflowing content
1 parent 620fb56 commit 7eb7b9b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

static/css/style.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,14 @@ blockquote footer {
144144
color: #777;
145145
}
146146

147+
/* Responsive images */
148+
img {
149+
max-width: 100%;
150+
height: auto;
151+
border-radius: 4px;
152+
object-fit: cover;
153+
}
154+
147155
footer {
148156
text-align: center;
149157
padding: 20px;

0 commit comments

Comments
 (0)