mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
Fixing more info button padding (#783)
This commit is contained in:
parent
f3e83fab7e
commit
34f7728399
@ -38,3 +38,6 @@
|
|||||||
.action {
|
.action {
|
||||||
margin-top: calc(var(--spacer) / 1.5);
|
margin-top: calc(var(--spacer) / 1.5);
|
||||||
}
|
}
|
||||||
|
.moreInfo {
|
||||||
|
padding: calc(var(--spacer) / 4) calc(var(--spacer) / 2) !important;
|
||||||
|
}
|
||||||
|
@ -70,7 +70,12 @@ export default function MetadataFeedback({
|
|||||||
<>
|
<>
|
||||||
<p>Sorry, something went wrong. Please try again.</p>
|
<p>Sorry, something went wrong. Please try again.</p>
|
||||||
{moreInfo && <Alert text={error} state="error" />}
|
{moreInfo && <Alert text={error} state="error" />}
|
||||||
<Button style="text" size="small" onClick={toggleMoreInfo}>
|
<Button
|
||||||
|
style="text"
|
||||||
|
size="small"
|
||||||
|
onClick={toggleMoreInfo}
|
||||||
|
className={styles.moreInfo}
|
||||||
|
>
|
||||||
{moreInfo === false ? 'More Info' : 'Hide error'}
|
{moreInfo === false ? 'More Info' : 'Hide error'}
|
||||||
</Button>
|
</Button>
|
||||||
<ActionError setError={setError} />
|
<ActionError setError={setError} />
|
||||||
|
Loading…
Reference in New Issue
Block a user