diff --git a/packages/manager/apps/procedures/src/components/FileInput/FileInputListItem.tsx b/packages/manager/apps/procedures/src/components/FileInput/FileInputListItem.tsx index 2391fd857a71..19a3e67beb77 100644 --- a/packages/manager/apps/procedures/src/components/FileInput/FileInputListItem.tsx +++ b/packages/manager/apps/procedures/src/components/FileInput/FileInputListItem.tsx @@ -37,6 +37,7 @@ export const FileInputListItem: FunctionComponent = ({ > = ({ size={ODS_ICON_SIZE.sm} /> = ({ ? ODS_THEME_COLOR_INTENT.error : ODS_THEME_COLOR_INTENT.primary } - className="ml-auto cursor-pointer" + className="ml-auto cursor-pointer flex-shrink-0" size={ODS_ICON_SIZE.sm} onClick={(e) => { if (!disabled) deleteFile(e, file); diff --git a/packages/manager/apps/procedures/src/pages/rgdp/rgdpForm/FileField/FileField.component.tsx b/packages/manager/apps/procedures/src/pages/rgdp/rgdpForm/FileField/FileField.component.tsx index 0d9e76074c91..c3aefdda5d63 100644 --- a/packages/manager/apps/procedures/src/pages/rgdp/rgdpForm/FileField/FileField.component.tsx +++ b/packages/manager/apps/procedures/src/pages/rgdp/rgdpForm/FileField/FileField.component.tsx @@ -53,7 +53,7 @@ export const FileField: FunctionComponent = ({ }, }, }} - render={({ field: { onChange, value, name: _name } }) => ( + render={({ field: { onChange, value, name: _name, disabled } }) => ( = ({ onChange={(e) => onChange(e.files)} maxSize={maxSize} multiple={multiple} + disabled={disabled} >