Button Group margins (#3723)

This commit is contained in:
Jaco Greeff 2020-09-20 13:23:47 +02:00 committed by GitHub
parent e00ec4f7bd
commit 714beda8d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

View File

@ -15,6 +15,7 @@ function ButtonGroup ({ children, className = '', isCentered }: GroupProps): Rea
}
export default React.memo(styled(ButtonGroup)`
margin: 1rem 0;
text-align: right;
&.isCentered {

View File

@ -189,6 +189,10 @@ export default React.memo(styled(Body)`
background: transparent;
}
.ui--Button-Group {
margin: 0;
}
.ui--Button:not(.isIcon):not(:hover) {
background: transparent !important;
box-shadow: none !important;

View File

@ -109,7 +109,7 @@ export default css`
> .actions {
border-top: none;
text-align: right;
padding: 1rem !important;
padding: 0 1rem !important;
}
/* approx h1, color, size, font */