mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-02-22 13:19:05 +00:00
fix: long file names in dashboard preview dialogs
This commit is contained in:
parent
9e4d477d09
commit
2b195652a5
@ -245,6 +245,10 @@ fieldset[disabled] .select select:hover {
|
||||
}
|
||||
}
|
||||
|
||||
.has-word-break-all {
|
||||
word-break: break-all
|
||||
}
|
||||
|
||||
/** Fontello overrides **/
|
||||
|
||||
.icon-gauge::before {
|
||||
|
@ -952,8 +952,8 @@ page.displayPreview = id => {
|
||||
div.innerHTML = `
|
||||
<div class="content has-text-centered">
|
||||
<p>
|
||||
<div class="has-text-weight-bold">${file.name}</div>
|
||||
<div>${file.original}</div>
|
||||
<div class="has-text-weight-bold has-word-break-all">${file.name}</div>
|
||||
<div class="has-word-break-all">${file.original}</div>
|
||||
</p>
|
||||
${file.thumb
|
||||
? `<p class="swal-display-thumb-container">
|
||||
|
Loading…
Reference in New Issue
Block a user