diff --git a/assets/organisations/css/organisations.css b/assets/organisations/css/organisations.css index a2b3486..5066d70 100644 --- a/assets/organisations/css/organisations.css +++ b/assets/organisations/css/organisations.css @@ -21,11 +21,10 @@ } .user-organisation-description { - text-overflow: ellipsis; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 5; overflow: hidden; - width: 100%; - display: inline-block; - white-space: nowrap; margin-top: 0.5em; } diff --git a/templates/pages/user.html.twig b/templates/pages/user.html.twig index feda475..5b5a01e 100644 --- a/templates/pages/user.html.twig +++ b/templates/pages/user.html.twig @@ -76,7 +76,7 @@ {{organisation.description}} {% if hasRole('site-admin') or hasRole('organisations-admin') -%} -