mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2024-12-27 07:25:53 -05:00
Fix code block wraps on Safari (#298)
This commit is contained in:
parent
e01b52193a
commit
b523192b51
@ -213,7 +213,8 @@
|
|||||||
color: rgba(255, 255, 255, .8);
|
color: rgba(255, 255, 255, .8);
|
||||||
background: 0 0;
|
background: 0 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
overflow-x: auto
|
overflow-x: auto;
|
||||||
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-content blockquote {
|
.post-content blockquote {
|
||||||
@ -243,20 +244,20 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.post-content figure.align-center {
|
.post-content figure.align-center {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-content figure > figcaption {
|
.post-content figure>figcaption {
|
||||||
color: var(--primary);
|
color: var(--primary);
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin: 8px 0 16px;
|
margin: 8px 0 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-content figure > figcaption > p {
|
.post-content figure>figcaption>p {
|
||||||
color: var(--secondary);
|
color: var(--secondary);
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toc {
|
.toc {
|
||||||
@ -428,4 +429,4 @@ h6:hover .anchor {
|
|||||||
|
|
||||||
[dir="rtl"] .paginav .next {
|
[dir="rtl"] .paginav .next {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user