mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-10-23 08:32:25 +00:00
no more max message length
This commit is contained in:
1 parent
fc5ab3997b
commit
08acb9de9d
2 files changed
+1
-20
No files matched your search
@@ -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
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user