Fixed the sidebar namespaces hover effect to last-child

This commit is contained in:
A V Rahul
2019-01-18 16:00:30 +05:30
parent 8d45e6a266
commit 178a1bf77e

View File

@@ -1329,17 +1329,20 @@ a {
overflow: hidden;
max-height: 27px;
transition: max-height 0.5s 0s $base-ease;
&:hover {
height: auto;
max-height: calc((13px * 1.5 + 3px + 3px) * 8); // expand to display 8 rows
overflow: auto;
transition: max-height 0.5s 0s $base-ease;
}
.topology-option-action {
flex: 1 1 auto;
text-align: center;
}
}
&:last-child :hover {
height: auto;
max-height: calc((13px * 1.5 + 3px + 3px) * 8); // expand to display 8 rows
overflow: auto;
transition: max-height 0.5s 0s $base-ease;
}
font-size: $font-size-small;
&-action {