diff --git a/content/pages/editAdvanceSettings.json b/content/pages/editAdvanceSettings.json index 4a230963a..99a2abe3f 100644 --- a/content/pages/editAdvanceSettings.json +++ b/content/pages/editAdvanceSettings.json @@ -20,7 +20,7 @@ "type": "credential" }, { - "name": "isDisable", + "name": "isOrderDisabled", "label": "Disable Consumption", "help": "Disable dataset being consume when dataset undergoing maintenance.", "type": "checkbox", diff --git a/src/components/molecules/FormFields/Credential/Credential.module.css b/src/components/molecules/FormFields/Credential/Credential.module.css index 643d469ba..1b14d5d98 100644 --- a/src/components/molecules/FormFields/Credential/Credential.module.css +++ b/src/components/molecules/FormFields/Credential/Credential.module.css @@ -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; diff --git a/src/components/molecules/FormFields/Credential/index.tsx b/src/components/molecules/FormFields/Credential/index.tsx index 6982f012f..8906e1b19 100644 --- a/src/components/molecules/FormFields/Credential/index.tsx +++ b/src/components/molecules/FormFields/Credential/index.tsx @@ -63,13 +63,15 @@ export default function Credential(props: InputProps) { return (
{value} - + + +
) })}