mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-28 15:26:44 -06:00
fix(frontend/MkMediaList): altメッセージのnewlineを認識
This commit is contained in:
parent
31f9ea31b9
commit
d90a98a8a7
1 changed files with 2 additions and 1 deletions
|
@ -118,7 +118,7 @@ onMounted(() => {
|
||||||
});
|
});
|
||||||
|
|
||||||
lightbox.init();
|
lightbox.init();
|
||||||
|
|
||||||
window.addEventListener('popstate', () => {
|
window.addEventListener('popstate', () => {
|
||||||
if (lightbox.pswp && lightbox.pswp.isOpen === true) {
|
if (lightbox.pswp && lightbox.pswp.isOpen === true) {
|
||||||
lightbox.pswp.close();
|
lightbox.pswp.close();
|
||||||
|
@ -239,5 +239,6 @@ const previewable = (file: misskey.entities.DriveFile): boolean => {
|
||||||
max-height: 8em;
|
max-height: 8em;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
text-shadow: var(--bg) 0 0 10px, var(--bg) 0 0 3px, var(--bg) 0 0 3px;
|
text-shadow: var(--bg) 0 0 10px, var(--bg) 0 0 3px, var(--bg) 0 0 3px;
|
||||||
|
white-space: pre-line;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue