85862: Handling very long strings for metadata/files on item page, edit metadata/bitstreams page

This commit is contained in:
lotte
2021-12-14 09:30:38 +01:00
parent b8016d7fae
commit e7f0921e6e
6 changed files with 26 additions and 6 deletions

View File

@@ -74,3 +74,21 @@ ngb-modal-backdrop {
}
}
.dont-break-out {
/* These are technically the same, but use both */
overflow-wrap: break-word;
word-wrap: break-word;
-ms-word-break: break-all;
/* This is the dangerous one in WebKit, as it breaks things wherever */
word-break: break-all;
/* Instead use this non-standard one: */
word-break: break-word;
/* Adds a hyphen where the word breaks, if supported (No Blink) */
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}