Skip to content

Commit

Permalink
fix(FormLabel): add margin-left offset
Browse files Browse the repository at this point in the history
  • Loading branch information
mainframev committed Apr 26, 2023
1 parent 1bbbc00 commit eb0f092
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/orbit-components/src/FormLabel/index.tsx
Expand Up @@ -5,6 +5,7 @@ import defaultTheme from "../defaultTheme";
import AlertCircle from "../icons/AlertCircle";
import InformationCircle from "../icons/InformationCircle";
import { rtlSpacing } from "../utils/rtl";
import mq from "../utils/mediaQuery";
import type { Props } from "./types";

const StyledAsterisk = styled.span<{ filled?: boolean }>`
Expand Down Expand Up @@ -80,6 +81,9 @@ const FormLabel = styled(
color: ${!filled || disabled ? theme.orbit.colorFormLabel : theme.orbit.colorFormLabelFilled};
line-height: ${theme.orbit.lineHeightTextNormal};
margin-bottom: ${theme.orbit.spaceXXSmall};
${mq.largeMobile(css`
margin-left: ${theme.orbit.spaceXXSmall};
`)}
`}
`;

Expand Down

0 comments on commit eb0f092

Please sign in to comment.