no more max message length

This commit is contained in:
MathMan05 committed 2026-01-27 20:09:16 -06:00
1 parent fc5ab3997b
commit 08acb9de9d
2 files changed
+1 -20

No files matched your search

-7
View File
@@ -912,13 +912,6 @@ class Message extends SnowFlake {
messagedwrap.classList.add("flexttb");
messagedwrap.appendChild(messaged);
}
text.onclick = () => {
if (text.getBoundingClientRect().height > 950) {
const pop = new Dialog(I18n.message.fullMessage());
pop.float.options.addMDText(this.content);
pop.show();
}
};
}
text.appendChild(messagedwrap);
build.appendChild(text);
+1 -13
View File
@@ -2335,22 +2335,10 @@ span.instanceStatus {
word-break: break-word;
gap: 4px;
width: 100%;
max-height: 1000px;
overflow: clip;
position: relative;
}
.commentrow::after {
content: "View rest";
position: absolute;
top: 960px;
left: 50%;
transform: translate(-50%, -50%);
background: var(--secondary-bg);
padding: 10px;
border-radius: 4px;
text-align: center;
cursor: pointer;
}
.commentrow:hover::after {
background: var(--secondary-hover);
}