diff --git a/src/fields/CoordinatesInput/index.tsx b/src/fields/CoordinatesInput/index.tsx index 9406773e4..cba5eb7a1 100644 --- a/src/fields/CoordinatesInput/index.tsx +++ b/src/fields/CoordinatesInput/index.tsx @@ -162,12 +162,13 @@ const StyledFieldset = styled(Fieldset)` &:focus-visible { outline: 0; } - ${p => - p.$isRequired && - ` - :after { + } + + ${p => + p.$isRequired && + ` + legend:after { content:" *"; color: ${p.theme.color.maximumRed}; }`} - } `