1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fixing cluster icon badge overflow (#749)

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2020-08-27 08:42:18 +03:00 committed by GitHub
parent 510d3d4760
commit c31004e677
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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 {

View File

@ -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 && (