File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
apps/landing/src/app/(detail)/components Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ import { Colors } from './demo/Colors'
1111###### Examples
1212
1313<div style = { { display: ' flex' , gap: ' 16px' , flexWrap: ' wrap' }} >
14- <section style = { { flex: ' 1' }} >
14+ <section style = { { flex: ' 1' , maxWidth: ' calc(50% - 8px) ' }} >
1515 <MdxCard src = " button/demo/Variants.tsx" demo = { <Variants />} />
1616 <MdxCard src = " button/demo/Danger.tsx" demo = { <Danger />} />
1717 <MdxCard src = " button/demo/Disabled.tsx" demo = { <Disabled />} />
1818 </section >
19- <section style = { { flex: ' 1' }} >
19+ <section style = { { flex: ' 1' , maxWidth: ' calc(50% - 8px) ' }} >
2020 <MdxCard src = " button/demo/Icon.tsx" demo = { <Icon />} />
2121 <MdxCard src = " button/demo/Colors.tsx" demo = { <Colors />} />
2222 </section >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { Box, css } from '@devup-ui/react'
88export function Variants ( ) {
99 return (
1010 < >
11- < Box display = "flex" gap = "12px" marginBottom = "16px" >
11+ < Box display = "flex" flexWrap = "wrap" gap = "12px" marginBottom = "16px" >
1212 < Button
1313 className = { css ( { height : 'min-content' } ) }
1414 size = "sm"
@@ -31,7 +31,7 @@ export function Variants() {
3131 Primary lg
3232 </ Button >
3333 </ Box >
34- < Box display = "flex" gap = "12px" marginBottom = "16px" >
34+ < Box display = "flex" flexWrap = "wrap" gap = "12px" marginBottom = "16px" >
3535 < Button className = { css ( { height : 'min-content' } ) } size = "sm" >
3636 Default sm
3737 </ Button >
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ export default function Layout({
1717 < Box
1818 className = "markdown-body"
1919 flex = { 1 }
20+ overflow = "auto"
2021 px = { [ '16px' , '30px' , '60px' ] }
2122 py = { [ '24px' , '40px' ] }
2223 w = "100%"
You can’t perform that action at this time.
0 commit comments