From ac76d351d6c87af8f367a251140b791bf4051c3b Mon Sep 17 00:00:00 2001 From: Sergio Betanzos Date: Wed, 12 May 2021 16:24:20 +0200 Subject: [PATCH] M ~: Fix styles when ips are a long text (#1210) (cherry picked from commit 15a5c1e76de698b24634c4dbee9d3b191bde9026) --- src/sunstone/public/scss/app.scss | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/sunstone/public/scss/app.scss b/src/sunstone/public/scss/app.scss index c74fb50b0d..b8b3bf9c9a 100644 --- a/src/sunstone/public/scss/app.scss +++ b/src/sunstone/public/scss/app.scss @@ -280,12 +280,16 @@ select.mb_input_unit { line-height: 1.4rem; } -ul.dropdown-menu-css{ +ul.dropdown-menu-css { position: relative; margin: 0; list-style: none; - & > .menu-hide{ + & > li:first-child { + word-break: break-all; + } + + & > .menu-hide { display: none; position: absolute; background-color: $white; @@ -315,11 +319,11 @@ ul.dropdown-menu-css{ } } - & > li.menu-hide.upper{ + & > li.menu-hide.upper { top: 0; } - &:hover > li{ + &:hover > li { display: block; } }