diff --git a/app/assets/stylesheets/app/_menus.scss b/app/assets/stylesheets/app/_menus.scss index 5c2916bcb..7ca7660f9 100644 --- a/app/assets/stylesheets/app/_menus.scss +++ b/app/assets/stylesheets/app/_menus.scss @@ -40,6 +40,15 @@ ul.section-menu-bar { opacity: 0.5; font-weight: normal; font-size: 12px; + + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 1; /* number of lines to show */ + $line-height: 18px; + line-height: $line-height; /* fallback */ + max-height: calc(#{$line-height} * 1); /* fallback */ } }