Jelajahi Sumber

fix: minor adjustments to post and CSS

Adam 5 bulan lalu
induk
melakukan
7a155156f6
3 mengubah file dengan 6 tambahan dan 5 penghapusan
  1. 1 1
      public/posts/20250715.md
  2. 1 2
      public/posts/index.json
  3. 4 2
      src/index.css

+ 1 - 1
public/posts/20250715.md

@@ -40,6 +40,6 @@ Our test devices work exactly in accordance to these principles, and do not requ
 
 However, some devices without hardware capabilities to precisely differ S/FG use software depth map, like Google's Pixel devices do:
 
-:::spoiler Click me!
+:::spoiler clickme
 ![alt text](image.png)
 :::

+ 1 - 2
public/posts/index.json

@@ -1,4 +1,3 @@
 [
-  "20250715.md",
-  "TEST.md"
+  "20250715.md"
 ]

+ 4 - 2
src/index.css

@@ -153,9 +153,11 @@ body {
 
 /* Images */
 .markdown-content img {
-  max-width: 100%;
+  display: block;
+  width: 100%;
   border-radius: 0.5rem;
-  margin: 1.25rem 0;
+  margin-top: 1rem;
+  margin-bottom: 1rem;
 }
 
 /* Tables */