1
0
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:
EnzoVezzaro 2022-06-14 08:21:56 -04:00 committed by GitHub
parent 0d3464848d
commit a986ecc3fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -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);

View File

@ -161,7 +161,7 @@ export default function ButtonBuy({
type={type}
onClick={onClick}
disabled={disabled}
className="center"
className={action === 'compute' ? styles.actionsCenter : ''}
>
{buttonText}
</Button>

View File

@ -82,11 +82,6 @@
min-width: auto;
}
.center {
margin: auto !important;
display: block;
}
/* Size Modifiers */
.small {
font-size: var(--font-size-small);