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

Adding space after drawer badges (#1014)

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2020-10-02 12:49:03 +03:00 committed by GitHub
parent af71834676
commit 68317453c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 7 deletions

View File

@ -18,13 +18,6 @@ export class Badge extends React.Component<Props> {
{label}
{children}
</span>
{ /**
* This is a zero-width-space. It makes there be a word seperation
* between adjacent Badge's because <span>'s are ignored for browers'
* word detection algorithmns use for determining the extent of the
* text to highlight on multi-click sequences.
*/}
&#8203;
</>
}
}

View File

@ -48,6 +48,11 @@
float: left;
margin: $spacing;
&:after {
content: " ";
display: block;
}
&.disabled {
opacity: 0.5;
}