diff --git a/library-css/utils.scss b/library-css/utils.scss index 7e37b32..d7487fd 100644 --- a/library-css/utils.scss +++ b/library-css/utils.scss @@ -62,6 +62,10 @@ h2 .custom-external { text-overflow: ellipsis; } +.multi-line-ellipsis.line-1 p { + -webkit-line-clamp: 1; +} + .multi-line-ellipsis.lines-2 p { -webkit-line-clamp: 2; } @@ -131,3 +135,15 @@ div:not(.uk-logo) > img { .cursor-default { 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; + +}