From 406d5fe8ff6d77fa8bdb88fc1cdbd822d1ff1a29 Mon Sep 17 00:00:00 2001 From: Mo Bitar Date: Mon, 16 Oct 2017 10:27:05 -0500 Subject: [PATCH] Note options subtitle overflow --- app/assets/stylesheets/app/_menus.scss | 9 +++++++++ 1 file changed, 9 insertions(+) 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 */ } }