From cba4318185c953b6b0102f1809bb247f2e5dc23c Mon Sep 17 00:00:00 2001 From: zmagod Date: Wed, 5 Oct 2016 13:21:34 +0200 Subject: [PATCH] add word wrapping to notifications dropdown [fixes SCI-532] --- app/assets/stylesheets/themes/scinote.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/themes/scinote.scss b/app/assets/stylesheets/themes/scinote.scss index 23290885b..bb9918e24 100644 --- a/app/assets/stylesheets/themes/scinote.scss +++ b/app/assets/stylesheets/themes/scinote.scss @@ -101,13 +101,20 @@ table { } } +@media(max-width:450px) { + .dropdown-notifications { + width: 100%; + } +} + .dropdown-notifications { max-height: 500px; - min-width: 450px; overflow-x: hidden; overflow-y: scroll; padding-bottom: 0; padding-top: 0; + width: 450px; + word-wrap: break-word; .notification { border-bottom: 1px solid $color-alto;