fix line breaks for english text

seems like the original text justification was designed for chinese
text?
master
Jordan Orelli 4 years ago
parent 8628c19610
commit cd6897a837

@ -0,0 +1,3 @@
module github.com/jordanorelli/hugo-theme-mini
go 1.15

@ -81,11 +81,11 @@ p {
margin-block-start: 1.5em; margin-block-start: 1.5em;
margin-block-end: 1.5em; margin-block-end: 1.5em;
} }
p,
pre { p, pre {
line-break: anywhere; text-align: justify;
word-break: break-all;
} }
.markdown-image img { .markdown-image img {
max-width: 100%; max-width: 100%;
} }
@ -500,4 +500,4 @@ nav.navigation a.button {
position: relative; position: relative;
top: 1px; top: 1px;
color: #bbb; color: #bbb;
} }

Loading…
Cancel
Save