mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(post): special characters in content could overflow
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
white-space: pre-line;
|
white-space: pre-line;
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
overflow: hidden;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -160,6 +160,7 @@
|
|||||||
|
|
||||||
.postDesktop .postMessage, .replyDesktop .postMessage {
|
.postDesktop .postMessage, .replyDesktop .postMessage {
|
||||||
padding: 1em 40px;
|
padding: 1em 40px;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.postDesktop .abbr {
|
.postDesktop .abbr {
|
||||||
@@ -328,6 +329,7 @@
|
|||||||
.postMobile .postMessage {
|
.postMobile .postMessage {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
font-size: var(--post-mobile-content-font-size);
|
font-size: var(--post-mobile-content-font-size);
|
||||||
|
overflow: hidden;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user