Adding space after drawer badges (#1014)

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev authored and GitHub committed 2020-10-02 12:49:03 +03:00
1 parent af71834676
commit 68317453c1
2 files changed
+5 -7

No files matched your search

-7
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;
</>
}
}
@@ -48,6 +48,11 @@
float: left;
margin: $spacing;
&:after {
content: " ";
display: block;
}
&.disabled {
opacity: 0.5;
}