mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
fix alignment based button on action type (#1491)
* fix alignment based on action type * moving to CSS modules
This commit is contained in:
parent
0d3464848d
commit
a986ecc3fc
@ -3,6 +3,11 @@
|
||||
margin-top: calc(var(--spacer) / 2);
|
||||
}
|
||||
|
||||
.actionsCenter {
|
||||
margin: auto !important;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.help {
|
||||
font-size: var(--font-size-mini);
|
||||
color: var(--color-secondary);
|
||||
|
@ -161,7 +161,7 @@ export default function ButtonBuy({
|
||||
type={type}
|
||||
onClick={onClick}
|
||||
disabled={disabled}
|
||||
className="center"
|
||||
className={action === 'compute' ? styles.actionsCenter : ''}
|
||||
>
|
||||
{buttonText}
|
||||
</Button>
|
||||
|
@ -82,11 +82,6 @@
|
||||
min-width: auto;
|
||||
}
|
||||
|
||||
.center {
|
||||
margin: auto !important;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Size Modifiers */
|
||||
.small {
|
||||
font-size: var(--font-size-small);
|
||||
|
Loading…
Reference in New Issue
Block a user