Fixing cluster icon badge overflow (#749)

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev authored and GitHub committed 2020-08-27 08:42:18 +03:00
1 parent 510d3d4760
commit c31004e677
3 files changed
+4 -4

No files matched your search

@@ -30,7 +30,7 @@
position: absolute;
right: 0;
bottom: 0;
margin: -$padding * 1.5;
margin: -$padding;
font-size: $font-size-small;
background: $colorError;
color: white;
@@ -3,9 +3,9 @@
position: relative;
text-align: center;
padding: $spacing;
background: $clusterMenuBackground;
border-right: 1px solid $clusterMenuBorderColor;
padding-bottom: $spacing;
.is-mac & {
padding-top: $spacing * 2;
@@ -49,11 +49,11 @@
.clusters {
@include hidden-scrollbar;
padding: 0 $spacing $spacing;
}
> .add-cluster {
position: relative;
margin-top: $padding;
min-width: 43px;
.Icon {
@@ -97,7 +97,7 @@ export class ClustersMenu extends React.Component<Props> {
const showStartupHint = this.showHint && isLanding && noClustersInScope;
return (
<div
className={cssNames("ClustersMenu flex column gaps", className)}
className={cssNames("ClustersMenu flex column", className)}
onMouseEnter={() => this.showHint = false}
>
{showStartupHint && (