Skip to content

Commit f25cbf3

Browse files
committed
feat(Layout): add Flex and Grid sub-components with stories * 2
1 parent e1df0e6 commit f25cbf3

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

src/components/content/Layout/LayoutBlock.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const BlockElement = tasty(LayoutContent, {
88
qa: 'LayoutBlock',
99
styles: {
1010
flexShrink: 0,
11+
flexGrow: 0,
1112

1213
Inner: {
1314
display: 'block',

src/components/content/Layout/LayoutFooter.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const FooterElement = tasty(LayoutContent, {
1212
border: 'top',
1313
height: 'min 5x',
1414
flexShrink: 0,
15+
flexGrow: 0,
1516
whiteSpace: 'nowrap',
1617

1718
Inner: {

src/components/content/Layout/LayoutHeader.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const HeaderElement = tasty(LayoutContent, {
2222
styles: {
2323
border: 'bottom',
2424
flexShrink: 0,
25+
flexGrow: 0,
2526

2627
Inner: {
2728
display: 'grid',

src/components/content/Layout/LayoutToolbar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const ToolbarElement = tasty(LayoutContent, {
1010
styles: {
1111
height: 'min 5x',
1212
flexShrink: 0,
13+
flexGrow: 0,
1314

1415
Inner: {
1516
display: 'flex',

0 commit comments

Comments
 (0)