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);
|
margin-top: calc(var(--spacer) / 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.actionsCenter {
|
||||||
|
margin: auto !important;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.help {
|
.help {
|
||||||
font-size: var(--font-size-mini);
|
font-size: var(--font-size-mini);
|
||||||
color: var(--color-secondary);
|
color: var(--color-secondary);
|
||||||
|
@ -161,7 +161,7 @@ export default function ButtonBuy({
|
|||||||
type={type}
|
type={type}
|
||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
className="center"
|
className={action === 'compute' ? styles.actionsCenter : ''}
|
||||||
>
|
>
|
||||||
{buttonText}
|
{buttonText}
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -82,11 +82,6 @@
|
|||||||
min-width: auto;
|
min-width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.center {
|
|
||||||
margin: auto !important;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Size Modifiers */
|
/* Size Modifiers */
|
||||||
.small {
|
.small {
|
||||||
font-size: var(--font-size-small);
|
font-size: var(--font-size-small);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user