-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: Updated styles on Checkbox Overview
- Loading branch information
1 parent
1b76e62
commit 722ad14
Showing
3 changed files
with
21 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
import { Meta } from '@storybook/addon-docs'; | ||
import { List, Link, ListLink, Heading } from '~/src/index'; | ||
import { List, Link, ListLink, Heading, Paragraph } from '~/src/index'; | ||
|
||
<Meta title='Components (Verified)/Checkboxes/Overview' /> | ||
|
||
<Heading type='1'>Checkboxes</Heading> | ||
|
||
Use checkboxes when the user can select more than one option from a list. Make clear with helper text that this is the case. Use [radio buttons](https://cfpb.github.io/design-system/components/radio-buttons) when the user can choose only one option from a list. | ||
<Paragraph>Use checkboxes when the user can select more than one option from a list. Make clear with helper text that this is the case. Use [radio buttons](https://cfpb.github.io/design-system/components/radio-buttons) when the user can choose only one option from a list.</Paragraph> | ||
|
||
Source: <Link href='https://cfpb.github.io/design-system/components/checkboxes'>https://cfpb.github.io/design-system/components/checkboxes</Link> | ||
<Paragraph>Source: <Link href='https://cfpb.github.io/design-system/components/checkboxes'>https://cfpb.github.io/design-system/components/checkboxes</Link></Paragraph> | ||
|
||
<Heading type='3'>Types</Heading> | ||
<br /> | ||
|
||
<List isLinks> | ||
<Heading type='4'>Types</Heading> | ||
|
||
<List forceListStyleOverride className="cfpb-list-style-override" isLinks> | ||
<ListLink href='/?path=/docs/components-verified-checkboxes-checkbox--overview'>Checkbox</ListLink> | ||
<ListLink href='/?path=/docs/components-verified-checkboxes-large-target-area--overview'>Large target area</ListLink> | ||
</List> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.cfpb-list-style-override { | ||
padding-left: 1.125em !important; | ||
list-style: square !important; | ||
|
||
a { | ||
font-size: 16px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters