Add max-width for posts and comment blocks.
This commit is contained in:
parent
bf116115e2
commit
e6de172dea
2 changed files with 4 additions and 0 deletions
|
@ -34,6 +34,8 @@
|
|||
--black: #303030;
|
||||
--background: #ffffff;
|
||||
--background-odd: #fafafa;
|
||||
|
||||
--text-width: 60em;
|
||||
}
|
||||
|
||||
* {
|
||||
|
|
|
@ -3331,6 +3331,7 @@ small, .small {
|
|||
.post-body {
|
||||
word-break: break-word;
|
||||
overflow: hidden;
|
||||
max-width: var(--text-width, 60em);
|
||||
}
|
||||
.modal-backdrop.show {
|
||||
opacity: 1;
|
||||
|
@ -3639,6 +3640,7 @@ small, .small {
|
|||
padding-right: 10px !important;
|
||||
padding-top: 5px !important;
|
||||
padding-bottom: 5px !important;
|
||||
max-width: var(--text-width, 60em);
|
||||
}
|
||||
.comment .comment-body .comment-text p:last-child {
|
||||
margin-bottom: 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue