fix: preserve newline character in alt text

This commit is contained in:
Kagami Sascha Rosylight 2023-03-06 22:02:51 +01:00 committed by naskya
parent 04369c9da9
commit 1d1dab5b2a
No known key found for this signature in database
GPG Key ID: 164DFF24E2D40139

View File

@ -332,6 +332,7 @@ const previewableCount = props.mediaList.filter((media) =>
overflow-x: clip; overflow-x: clip;
overflow-y: auto; overflow-y: auto;
overscroll-behavior: contain; overscroll-behavior: contain;
white-space: pre-line;
} }
.pwsp__alt-text:empty { .pwsp__alt-text:empty {