Skip to content

Commit cfae077

Browse files
author
Vivek Vishal
authored
Apply suggestions from code review
Signed-off-by: Vivek Vishal <vishalvivek488@gmail.com>
1 parent 61d3f1c commit cfae077

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/components/ScenarioCard/ScenarioCard.style.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,7 @@ export const ScenarioCardWrapper = styled.div`
8989
9090
9191
.active {
92-
display: block;
9392
width: 100%;
94-
height: auto;
9593
padding: 1.5rem;
9694
overflow: hidden;
9795
}
@@ -113,7 +111,7 @@ export const ScenarioCardWrapper = styled.div`
113111
}
114112
}
115113
.open-animate {
116-
height: auto;
114+
display: flex;
117115
transition: height 0.2s ease-in;
118116
}
119117
.close-animate {

0 commit comments

Comments
 (0)