forked from rDrama/rDrama
fix filename overflowing page
parent
379836cad2
commit
59efc521ff
|
@ -7003,7 +7003,7 @@ div.markdown {
|
|||
max-width: 500px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
.btn {
|
||||
.btn:not(.format) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
@ -7582,3 +7582,7 @@ bdi {
|
|||
.active:not(.voting-arrow) {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
label.btn.btn-secondary > span {
|
||||
word-break: break-word;
|
||||
}
|
||||
|
|
|
@ -498,7 +498,7 @@ function handle_files(input, newfiles) {
|
|||
for (const file of newfiles) {
|
||||
oldfiles[ta.id].push(file)
|
||||
if (span.innerHTML != ' ') span.innerHTML += ', '
|
||||
span.innerHTML += file.name.substr(0, 30);
|
||||
span.innerHTML += file.name.substr(0, 25);
|
||||
if (location.pathname != '/chat' && location.pathname != '/old_chat')
|
||||
insertText(ta, `[${file.name}]`);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue