Skip to content

Commit 1f0344a

Browse files
Add padding to storybook stories
This allows the tooltip to be at the top
1 parent 460cf8c commit 1f0344a

7 files changed

+6
-6
lines changed

components/progress-indicator/__docs__/storybook-stories.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const ExampleProgressIndicator = createReactClass({
4343

4444
render () {
4545
return (
46-
<div style={{ padding: '2rem 1rem 0px' }}>
46+
<div style={{ padding: '4rem 1rem 0px' }}>
4747
<ProgressIndicator
4848
id="example-progress-indicator"
4949
steps={this.props.steps}

components/progress-indicator/__examples__/step-error.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const Example = createReactClass({
77

88
render () {
99
return (
10-
<div style={{ padding: '2rem 1rem 0px' }}>
10+
<div style={{ padding: '4rem 1rem 0px' }}>
1111
<ProgressIndicator {...this.props} />
1212
</div>
1313
);

tests/__snapshots__/story-based-tests.snapshot-test.js.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3129,7 +3129,7 @@ exports[`DOM snapshots SLDSProgressIndicator Base With Disabled Steps 1`] = `
31293129
<div
31303130
style={
31313131
Object {
3132-
"padding": "2rem 1rem 0px",
3132+
"padding": "4rem 1rem 0px",
31333133
}
31343134
}
31353135
>
@@ -3342,7 +3342,7 @@ exports[`DOM snapshots SLDSProgressIndicator Base With Many Steps 1`] = `
33423342
<div
33433343
style={
33443344
Object {
3345-
"padding": "2rem 1rem 0px",
3345+
"padding": "4rem 1rem 0px",
33463346
}
33473347
}
33483348
>
@@ -3691,7 +3691,7 @@ exports[`DOM snapshots SLDSProgressIndicator Completed Progress 1`] = `
36913691
<div
36923692
style={
36933693
Object {
3694-
"padding": "2rem 1rem 0px",
3694+
"padding": "4rem 1rem 0px",
36953695
}
36963696
}
36973697
>
@@ -3918,7 +3918,7 @@ exports[`DOM snapshots SLDSProgressIndicator Step Error 1`] = `
39183918
<div
39193919
style={
39203920
Object {
3921-
"padding": "2rem 1rem 0px",
3921+
"padding": "4rem 1rem 0px",
39223922
}
39233923
}
39243924
>

0 commit comments

Comments
 (0)