mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-16 20:11:09 +00:00
Fixed the sidebar namespaces hover effect to last-child
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user