Skip to content

Commit

Permalink
fix(MenuSelectionGroup): remove font-size style
Browse files Browse the repository at this point in the history
use Text[type='body-secondary'] instead
  • Loading branch information
dominiccarrington committed Sep 25, 2024
1 parent 0237268 commit 6507bc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/components/Menu/Menu.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ SelectionGroups.parameters = {
title={
<Flex direction="row" alignItems="center" xgap="0.25rem">
<Icon scale={16} name="speaker" strokeColor="none" />
<Text>Speaker (you can choose many)</Text>
<Text type="body-secondary">Speaker (you can choose many)</Text>
</Flex>
}
>
Expand All @@ -163,7 +163,7 @@ SelectionGroups.parameters = {
title={
<Flex direction="row" alignItems="center" xgap="0.25rem">
<Icon scale={16} name="microphone" strokeColor="none" />
<Text>Microphone (you can choose one)</Text>
<Text type="body-secondary">Microphone (you can choose one)</Text>
</Flex>
}
>
Expand Down Expand Up @@ -193,7 +193,7 @@ SelectionGroups.parameters = {
title={
<Flex direction="row" alignItems="center" xgap="0.25rem">
<Icon scale={16} name="adjust-microphone" strokeColor="none" />
<Text>Webex smart audio (You can choose one)</Text>
<Text type="body-secondary">Webex smart audio (You can choose one)</Text>
</Flex>
}
>
Expand Down Expand Up @@ -225,7 +225,7 @@ SelectionGroups.parameters = {
title={
<Flex direction="row" alignItems="center" xgap="0.25rem">
<Icon scale={16} name="accessibility" strokeColor="none" />
<Text>Layout</Text>
<Text type="body-secondary">Layout</Text>
</Flex>
}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,4 @@
font-size: 0.875rem;
line-height: 1.375rem;
padding: 0.25rem 0.75rem;

.md-text-wrapper {
font-size: 0.875rem;
}
}

0 comments on commit 6507bc3

Please sign in to comment.