mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-02-22 05:09:03 +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 **/
|
/** Fontello overrides **/
|
||||||
|
|
||||||
.icon-gauge::before {
|
.icon-gauge::before {
|
||||||
|
@ -952,8 +952,8 @@ page.displayPreview = id => {
|
|||||||
div.innerHTML = `
|
div.innerHTML = `
|
||||||
<div class="content has-text-centered">
|
<div class="content has-text-centered">
|
||||||
<p>
|
<p>
|
||||||
<div class="has-text-weight-bold">${file.name}</div>
|
<div class="has-text-weight-bold has-word-break-all">${file.name}</div>
|
||||||
<div>${file.original}</div>
|
<div class="has-word-break-all">${file.original}</div>
|
||||||
</p>
|
</p>
|
||||||
${file.thumb
|
${file.thumb
|
||||||
? `<p class="swal-display-thumb-container">
|
? `<p class="swal-display-thumb-container">
|
||||||
|
Loading…
Reference in New Issue
Block a user