We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e6b903 commit 250058dCopy full SHA for 250058d
1 file changed
assets/css/extended/custom.css
@@ -1,16 +1,28 @@
1
/* Make main content area much wider */
2
.main {
3
- max-width: 95vw !important;
4
- width: 40% !important;
+ width: 100%;
5
margin: 0 auto;
6
- padding: 0 100px;
+ padding: 0 20px;
+
7
+ /* Desktop: cap width for readability */
8
+ max-width: 1200px;
9
}
10
-.post-content {
- max-width: 100% !important;
11
- width: 100%;
+/* Mobile/tablet: allow full expansion */
12
+@media (max-width: 768px) {
13
+ .main {
14
+ max-width: 95vw !important;
15
+ }
16
+}
17
18
+.post-content pre,
19
+.post-content code {
20
+ white-space: pre-wrap; /* allow wrapping */
21
+ word-break: break-word; /* break long tokens */
22
+ overflow-x: auto; /* fallback scroll if truly needed */
23
24
25
26
/* Remove PaperMod's default max-width restrictions */
27
article.post-single {
28
max-width: 100% !important;
0 commit comments