(Retrofit from trunk) N°1138 Portal: Scrollbar appeared sometimes in navigation menu when on the last brick.

SVN:2.4[5098]
This commit is contained in:
Guillaume Lajarige
2017-10-26 17:41:28 +00:00
parent c4fd15ae90
commit 4c38cd570c
2 changed files with 11 additions and 4 deletions

View File

@@ -2744,6 +2744,10 @@ textarea.input-group-sm > .form-control, textarea.input-group-sm > .input-group-
/* To mask border from previous li item */
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.8) inset;
}
.navbar-nav > li:last-child.active > a {
margin-top: 0px;
/* Overflow hack */
}
.navbar-nav > li > a {
padding-top: 11px;
padding-bottom: 11px;

View File

@@ -3470,10 +3470,13 @@ select[multiple].input-group-sm>.input-group-btn>.btn {
border-right-width: 20px;
border-right-color: $body-bg;
}
.navbar-nav>li.active>a{
margin-top: -1px; /* To mask border from previous li item */
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.8) inset;
}
.navbar-nav>li.active>a{
margin-top: -1px; /* To mask border from previous li item */
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.8) inset;
}
.navbar-nav>li:last-child.active>a{
margin-top: 0px; /* Overflow hack */
}
.navbar-nav>li>a {
padding-top: 11px;
padding-bottom: 11px;