Skip to content

Commit

Permalink
✨ feat(viewports): Update viewports doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Spiderpig86 committed Jan 8, 2025
1 parent f8c9acc commit 23f1db8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions cirrus-docs-next/src/fundamentals/viewports/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import { ResizableInternal } from '../../../layouts/components/resizable';
import { IFrame } from '../../../layouts/components/iframe';
import { wrapContent } from '../../../utils/iframe';
import { VersionTag } from '../../../layouts/components/tag';
import { TITLE_FUNDAMENTALS } from '../../../config/sidebar';

export const ViewportsPage: React.FC<any> = (props) => {
return (
Expand Down Expand Up @@ -266,6 +265,12 @@ export const ViewportsPage: React.FC<any> = (props) => {
</tbody>
</table>
</TableWrapper>

<p>You can also use this within your CSS.</p>
<CodeBlock language='scss' code={`.foo {
@extend
.md\\:u-none
}`} />
</div>
</section>

Expand Down Expand Up @@ -382,7 +387,7 @@ export const ViewportsPage: React.FC<any> = (props) => {
),
// 2. Add the breakpoint pair
breakpoint-pairs: (
'2xl': 'lg',
'2xl': 'xl',
)
)
)
Expand Down

0 comments on commit 23f1db8

Please sign in to comment.