Add max width (#14663)

(cherry picked from commit 9a9f093e63)
This commit is contained in:
Geido
2021-05-18 01:31:09 +03:00
committed by henryyeh
parent 3cea7b4199
commit 1393c5660c

View File

@@ -101,6 +101,7 @@ export default function Label(props: LabelProps) {
padding: '0.35em 0.8em',
lineHeight: 1,
color,
maxWidth: '100%',
'&:hover': {
backgroundColor: backgroundColorHover,
borderColor: borderColorHover,