mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
UI update
This commit is contained in:
parent
bfe70a3ff7
commit
5060f612b5
@ -20,7 +20,7 @@
|
|||||||
"type": "credential"
|
"type": "credential"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "isDisable",
|
"name": "isOrderDisabled",
|
||||||
"label": "Disable Consumption",
|
"label": "Disable Consumption",
|
||||||
"help": "Disable dataset being consume when dataset undergoing maintenance.",
|
"help": "Disable dataset being consume when dataset undergoing maintenance.",
|
||||||
"type": "checkbox",
|
"type": "checkbox",
|
||||||
|
@ -23,19 +23,29 @@
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.buttonWrapper {
|
||||||
|
width: 100%;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.crossButton {
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.crossButton svg {
|
.crossButton svg {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: var(--font-size-large);
|
width: var(--font-size-large);
|
||||||
height: var(--font-size-large);
|
height: var(--font-size-large);
|
||||||
fill: var(--brand-pink);
|
fill: var(--brand-pink);
|
||||||
transform: rotate(90deg);
|
transform: rotate(90deg);
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.scroll {
|
.scroll {
|
||||||
border-top: 1px solid var(--border-color);
|
border-top: 1px solid var(--border-color);
|
||||||
margin-top: calc(var(--spacer) / 4);
|
margin-top: calc(var(--spacer) / 4);
|
||||||
min-height: fit-content;
|
min-height: fit-content;
|
||||||
max-height: 50vh;
|
max-height: 200px;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
|
@ -63,13 +63,15 @@ export default function Credential(props: InputProps) {
|
|||||||
return (
|
return (
|
||||||
<div className={styles.chip} key={value}>
|
<div className={styles.chip} key={value}>
|
||||||
{value}
|
{value}
|
||||||
<Button
|
<span className={styles.buttonWrapper}>
|
||||||
className={styles.crossButton}
|
<Button
|
||||||
style="text"
|
className={styles.crossButton}
|
||||||
onClick={(even) => handleDeleteChip(value)}
|
style="text"
|
||||||
>
|
onClick={(even) => handleDeleteChip(value)}
|
||||||
<Cross />
|
>
|
||||||
</Button>
|
<Cross />
|
||||||
|
</Button>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
|
Loading…
Reference in New Issue
Block a user