Skip to content

Commit

Permalink
Added rules for spacing require dot
Browse files Browse the repository at this point in the history
  • Loading branch information
atomworks committed Jan 14, 2025
1 parent 1487595 commit 7c9f994
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/ui-lib/src/Form/atoms/Label.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ import styled, { css } from 'styled-components';
import { TypeLabelDirection } from '..';

const LabelText = styled.span<{ required?: boolean }>`
display: flex;
flex: 1;
align-items: center;
gap: 8px;
${({required}) => required && css`
&::after {
content: '';
Expand Down

0 comments on commit 7c9f994

Please sign in to comment.