Add max-width for posts and comment blocks.

This commit is contained in:
Ben Rog-Wilhelm 2022-09-26 04:02:46 -05:00 committed by Ben Rog-Wilhelm
parent bf116115e2
commit e6de172dea
2 changed files with 4 additions and 0 deletions

View file

@ -34,6 +34,8 @@
--black: #303030;
--background: #ffffff;
--background-odd: #fafafa;
--text-width: 60em;
}
* {

View file

@ -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;