diff --git a/react/common/src/App.css b/react/common/src/App.css index fea24f8..37c19f0 100644 --- a/react/common/src/App.css +++ b/react/common/src/App.css @@ -17,6 +17,11 @@ @import url("https://console-unipr.elixforms.it/rwe2/isipcss/css/grid_fluid.css"); /* Submit button styling (elixForms main submit) */ +.mainview .container .submit { + width: auto; + text-align: right; +} + .mainview .container form input[type="submit"] { background-color: #0066cc; color: #ffffff; diff --git a/react/common/src/ElixFormsComponentAbstract.tsx b/react/common/src/ElixFormsComponentAbstract.tsx index aaa961d..c6a04ab 100644 --- a/react/common/src/ElixFormsComponentAbstract.tsx +++ b/react/common/src/ElixFormsComponentAbstract.tsx @@ -196,8 +196,10 @@ export default abstract class ElixFormsComponentAbstract extends Component - +
+
+ +
{this.renderExtraContentPost()} @@ -263,8 +265,8 @@ export default abstract class ElixFormsComponentAbstract extends Component{label}, @@ -397,9 +399,9 @@ export default abstract class ElixFormsComponentAbstract extends Component, required: boolean = false): JSX.Element { const queryValue = QueryParamHelper.getOptionFromQuery(paramName); - const currentValue = this.state.formData[paramName] !== undefined - ? this.state.formData[paramName] - : (queryValue?.toString() ?? ''); + const currentValue = this.state.formData[paramName] !== undefined + ? this.state.formData[paramName] + : (queryValue?.toString() ?? ''); const options: FluentUI.IDropdownOption[] = [];