Skip to content

Commit 44da2ab

Browse files
update background color in "state" block (#903)
* update background color in "state" block * fix unit test failure * fix unit test failure Signed-off-by: Ruochen Wang <[email protected]> * update test snapshot --------- Signed-off-by: Ruochen Wang <[email protected]> Co-authored-by: bowenlan-amzn <[email protected]>
1 parent 03f268d commit 44da2ab

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

public/pages/VisualCreatePolicy/components/States/State.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ const State = ({ state, isInitialState, idx, onClickEditState, onClickDeleteStat
102102
}
103103
paddingSize="l"
104104
>
105-
<EuiFlexGroup direction="column" style={{ backgroundColor: "#f8f9fc" }}>
105+
<EuiFlexGroup direction="column" gutterSize="l">
106106
<EuiFlexItem grow={false}>
107107
<EuiText>
108108
<h4>Actions</h4>

public/pages/VisualCreatePolicy/components/States/__snapshots__/State.test.tsx.snap

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ exports[`<State /> spec renders the component 1`] = `
157157
>
158158
<div
159159
class="euiFlexGroup euiFlexGroup--gutterLarge euiFlexGroup--directionColumn euiFlexGroup--responsive"
160-
style="background-color: rgb(248, 249, 252);"
161160
>
162161
<div
163162
class="euiFlexItem euiFlexItem--flexGrowZero"

public/pages/VisualCreatePolicy/components/States/__snapshots__/States.test.tsx.snap

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,6 @@ exports[`<States /> spec renders the component 1`] = `
281281
>
282282
<div
283283
class="euiFlexGroup euiFlexGroup--gutterLarge euiFlexGroup--directionColumn euiFlexGroup--responsive"
284-
style="background-color: rgb(248, 249, 252);"
285284
>
286285
<div
287286
class="euiFlexItem euiFlexItem--flexGrowZero"
@@ -485,7 +484,6 @@ exports[`<States /> spec renders the component 1`] = `
485484
>
486485
<div
487486
class="euiFlexGroup euiFlexGroup--gutterLarge euiFlexGroup--directionColumn euiFlexGroup--responsive"
488-
style="background-color: rgb(248, 249, 252);"
489487
>
490488
<div
491489
class="euiFlexItem euiFlexItem--flexGrowZero"

0 commit comments

Comments
 (0)