[Library | Trunk]: Add css class to break all words

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/assets@60853 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2021-04-13 12:34:19 +00:00
parent 97767a0382
commit 1d649f56e4
1 changed files with 16 additions and 0 deletions

View File

@ -62,6 +62,10 @@ h2 .custom-external {
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.multi-line-ellipsis.line-1 p {
-webkit-line-clamp: 1;
}
.multi-line-ellipsis.lines-2 p { .multi-line-ellipsis.lines-2 p {
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
} }
@ -131,3 +135,15 @@ div:not(.uk-logo) > img {
.cursor-default { .cursor-default {
cursor: default !important; cursor: default !important;
} }
.custom-break {
overflow-wrap: break-word;
word-wrap: break-word;
-ms-word-break: break-all;
word-break: break-all;
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}