Fix alt text wrap and line breaks (#14)

Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/14
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
This commit is contained in:
sfr 2022-06-26 18:36:04 +00:00 committed by floatingghost
parent 263ef17816
commit 794906f01e
2 changed files with 4 additions and 2 deletions

View file

@ -33,7 +33,8 @@
line-height: 1.5;
padding: 0.5em;
margin: 0;
white-space: nowrap;
white-space: pre-line;
word-break: break-word;
text-overflow: ellipsis;
overflow: hidden;
}

View file

@ -189,7 +189,8 @@ $modal-view-button-icon-margin: 0.5em;
min-height: 1em;
max-width: 500px;
max-height: 9.5em;
word-break: break-all;
word-break: break-word;
white-space: pre-line;
}
.modal-image {