Skip to content
Snippets Groups Projects
Commit 930dd3a5 authored by Kamil Mielnik's avatar Kamil Mielnik
Browse files

Add a whitespace in the default value label when required "(required)" is shown

parent bb95e900
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,6 @@ export const SettingLabel = styled.label`
`;
export const SettingLabelError = styled.span`
margin: 0 0.5rem;
color: var(--mb-color-error);
`;
......
......@@ -240,7 +240,7 @@ export const ParameterSettings = ({
{t`Default value`}
{parameter.required &&
parameterHasNoDisplayValue(parameter.default) && (
<SettingLabelError>({t`required`})</SettingLabelError>
<SettingLabelError> ({t`required`})</SettingLabelError>
)}
</SettingLabel>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment