mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 04:33:47 +08:00
Handle word wrapping properly in posts
* Added overflow-wrap break-word to .Post-body * Added overflow-wrap normal to pre in .Post-body for code blocks (may change)
This commit is contained in:
parent
998bb5708e
commit
cde5d20c4c
|
@ -92,6 +92,7 @@
|
||||||
line-height: 1.7;
|
line-height: 1.7;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
|
||||||
p, ul, ol, blockquote {
|
p, ul, ol, blockquote {
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
|
@ -134,6 +135,7 @@
|
||||||
color: #666;
|
color: #666;
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
border-radius: @border-radius;
|
border-radius: @border-radius;
|
||||||
|
overflow-wrap: normal;
|
||||||
|
|
||||||
code {
|
code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user