Skip to content

Commit

Permalink
chore(field-container): post review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hebernardEquisoft committed Aug 1, 2024
1 parent a8ca4e4 commit 96d3be6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/react/src/components/combobox/combobox.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1731,13 +1731,13 @@ input + .c2 {
>
Select an option
</label>
<label
<span
class="c4"
data-testid="field-hint"
id="uuid1_hint"
>
Hint
</label>
</span>
<div
class="c5"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -670,13 +670,13 @@ input + .c2 {
>
Select an option
</label>
<label
<span
class="c4"
data-testid="field-hint"
id="uuid1_hint"
>
Hint
</label>
</span>
<div
aria-activedescendant="uuid1_ab"
aria-controls="uuid1_listbox"
Expand Down Expand Up @@ -2566,13 +2566,13 @@ input + .c2 {
>
Select an option
</label>
<label
<span
class="c4"
data-testid="field-hint"
id="uuid1_hint"
>
Hint
</label>
</span>
<div
aria-activedescendant="uuid1_ab"
aria-controls="uuid1_listbox"
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/field/hint/hint.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import styled from 'styled-components';
import { useDeviceContext } from '../../device-context-provider/device-context-provider';
import { HintProps } from './types';

const StyledHint = styled.label<{ $isMobile: boolean }>`
const StyledHint = styled.span<{ $isMobile: boolean }>`
color: ${(props) => props.theme.component['field-hint-text-color']};
display: block;
font-size: ${({ $isMobile }) => ($isMobile ? '0.875rem' : '0.75rem')};
Expand Down

0 comments on commit 96d3be6

Please sign in to comment.