File tree Expand file tree Collapse file tree 2 files changed +21
-9
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 2 files changed +21
-9
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,6 @@ type Story = StoryObj<typeof meta>;
4545
4646export const Default : Story = { } ;
4747
48- export const WithPageSkin : Story = {
49- args : {
50- hasPageSkin : true ,
51- } ,
52- } ;
53-
5448export const WithDetailsOpen : Story = {
5549 play : async ( { canvasElement } ) => {
5650 const canvas = within ( canvasElement ) ;
@@ -60,3 +54,19 @@ export const WithDetailsOpen: Story = {
6054 ) ;
6155 } ,
6256} ;
57+
58+ export const WithPageSkin : Story = {
59+ args : {
60+ hasPageSkin : true ,
61+ } ,
62+ render : ( args ) => (
63+ < div
64+ css = { css `
65+ margin : 20px auto 100px ;
66+ width : 600px ;
67+ ` }
68+ >
69+ < LabsSectionHeader { ...args } />
70+ </ div >
71+ ) ,
72+ } ;
Original file line number Diff line number Diff line change @@ -62,9 +62,11 @@ const dividerStylesUntilLeftCol = css`
6262` ;
6363
6464const dividerStylesFromLeftCol = css `
65- margin-right : unset;
66- ::after {
67- display : none;
65+ ${ from . leftCol } {
66+ margin-right : unset;
67+ ::after {
68+ display : none;
69+ }
6870 }
6971` ;
7072
You can’t perform that action at this time.
0 commit comments