summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorPeter Nguyen <peteralistairnguyen@gmail.com>2025-09-06 15:27:08 -0700
committerPeter Nguyen <peteralistairnguyen@gmail.com>2025-09-06 15:27:08 -0700
commit9c9b43700febc4c996e9e9bbd334f5835c87207d (patch)
tree43810753b223bc5f24a0d52d8e10a69fb7415173 /css
parent3d49f206f9d8b29928dc08458f5563b6fd9214ff (diff)
Fixed formatting for latest blog post on mobile. Thanks Vincent.
Diffstat (limited to 'css')
-rw-r--r--css/blog-post.css12
1 files changed, 10 insertions, 2 deletions
diff --git a/css/blog-post.css b/css/blog-post.css
index ae872aa..0f28f47 100644
--- a/css/blog-post.css
+++ b/css/blog-post.css
@@ -169,13 +169,21 @@ p {
}
img {
- max-width: 768px;
- padding-bottom: 1%;
+ max-width: 100%;
+ height: auto;
+ display: block;
+ margin: 0 auto;
}
/* MOBILE CSS ADAPTATIONS */
@media (max-width: 768px) {
+
+ img {
+ max-width: 100% !important;
+ height: auto !important;
+ }
+
body {
overflow-x: hidden;
position: static;