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"
|
||||
},
|
||||
{
|
||||
"name": "isDisable",
|
||||
"name": "isOrderDisabled",
|
||||
"label": "Disable Consumption",
|
||||
"help": "Disable dataset being consume when dataset undergoing maintenance.",
|
||||
"type": "checkbox",
|
||||
|
@ -23,19 +23,29 @@
|
||||
display: block;
|
||||
}
|
||||
|
||||
.buttonWrapper {
|
||||
width: 100%;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.crossButton {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.crossButton svg {
|
||||
display: inline-block;
|
||||
width: var(--font-size-large);
|
||||
height: var(--font-size-large);
|
||||
fill: var(--brand-pink);
|
||||
transform: rotate(90deg);
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.scroll {
|
||||
border-top: 1px solid var(--border-color);
|
||||
margin-top: calc(var(--spacer) / 4);
|
||||
min-height: fit-content;
|
||||
max-height: 50vh;
|
||||
max-height: 200px;
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
@ -63,6 +63,7 @@ export default function Credential(props: InputProps) {
|
||||
return (
|
||||
<div className={styles.chip} key={value}>
|
||||
{value}
|
||||
<span className={styles.buttonWrapper}>
|
||||
<Button
|
||||
className={styles.crossButton}
|
||||
style="text"
|
||||
@ -70,6 +71,7 @@ export default function Credential(props: InputProps) {
|
||||
>
|
||||
<Cross />
|
||||
</Button>
|
||||
</span>
|
||||
</div>
|
||||
)
|
||||
})}
|
||||
|
Loading…
Reference in New Issue
Block a user