fix: style tweaks for inconsistent button spacing (#13254)
* fix: button margin glitches * removing unncessary fragment * removing grid gap * Revert "removing unncessary fragment" This reverts commit 659e27348f705a85d203a4c1b77d78188200614d.
This commit is contained in:
parent
a5a31e0e60
commit
8db5d43969
|
|
@ -372,7 +372,6 @@ div.tablePopover {
|
|||
.ResultSetButtons {
|
||||
display: grid;
|
||||
grid-auto-flow: column;
|
||||
grid-gap: 4px;
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -159,7 +159,7 @@ export default function Button(props: ButtonProps) {
|
|||
<AntdButton
|
||||
href={disabled ? undefined : href}
|
||||
disabled={disabled}
|
||||
className={cx(className, { cta: !!cta })}
|
||||
className={cx(className, 'superset-button', { cta: !!cta })}
|
||||
css={{
|
||||
display: 'inline-flex',
|
||||
alignItems: 'center',
|
||||
|
|
@ -199,9 +199,9 @@ export default function Button(props: ButtonProps) {
|
|||
backgroundColor: backgroundColorDisabled,
|
||||
borderColor: borderColorDisabled,
|
||||
},
|
||||
marginLeft: theme.gridUnit * 2,
|
||||
'&:first-of-type': {
|
||||
marginLeft: 0,
|
||||
marginLeft: 0,
|
||||
'& + .superset-button': {
|
||||
marginLeft: theme.gridUnit * 2,
|
||||
},
|
||||
'& :first-of-type': {
|
||||
marginRight: firstChildMargin,
|
||||
|
|
|
|||
Loading…
Reference in New Issue