From 178a1bf77edc57fc2c2b3a444a2544d9e75f0348 Mon Sep 17 00:00:00 2001 From: A V Rahul Date: Fri, 18 Jan 2019 16:00:30 +0530 Subject: [PATCH] Fixed the sidebar namespaces hover effect to last-child --- client/app/styles/_base.scss | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/client/app/styles/_base.scss b/client/app/styles/_base.scss index 457a0fc91..2ffb71c58 100644 --- a/client/app/styles/_base.scss +++ b/client/app/styles/_base.scss @@ -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 {