Skip to content

Commit

Permalink
[Themes 1676] Fixed triple-chain large-manual-promo Desktop view (#2141)
Browse files Browse the repository at this point in the history
* Added display to child-item-grid

---------

Co-authored-by: Malavika Koppula <[email protected]>
  • Loading branch information
malavikakoppula and Malavika Koppula authored May 22, 2024
1 parent 1a82035 commit ab6ca04
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .storybook/themes/news.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3417,6 +3417,9 @@
"triple-chain-child-item": (
"gap": var(--global-spacing-6) 0
),
"triple-chain-child-item-grid": (
"display": "grid"
),
"triple-chain-child-item-empty": (
"display": contents
),
Expand Down Expand Up @@ -4511,6 +4514,9 @@
"triple-chain-child-item-empty": (
"display": initial
),
"triple-chain-child-item-grid": (
"display": "flex"
),
"triple-chain-children-grid": (
"grid-template-columns": 1fr 1fr 1fr,
"gap": 0 var(--global-spacing-5)
Expand Down
5 changes: 5 additions & 0 deletions blocks/triple-chain-block/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
@include scss.block-components("quad-chain-child-item-empty");
@include scss.block-properties("quad-chain-child-item-empty");
}

.c-grid {
@include scss.block-components("triple-chain-child-item-grid");
@include scss.block-properties("triple-chain-child-item-grid");
}

@include scss.block-components("triple-chain-child-item");
@include scss.block-properties("triple-chain-child-item");
Expand Down
10 changes: 10 additions & 0 deletions blocks/triple-chain-block/themes/news.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@
"desktop": {}
}
},
"triple-chain-child-item-grid": {
"styles": {
"default": {
"display": "grid"
},
"desktop": {
"display": "flex"
}
}
},
"triple-chain-child-item-empty": {
"styles": {
"default": {
Expand Down

0 comments on commit ab6ca04

Please sign in to comment.