Skip to content

Commit c52be91

Browse files
committed
fix(ScenarioCard): correct typos and adjust height properties
Signed-off-by: deep <www.crushy@gmail.com>
1 parent a7ebf09 commit c52be91

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/components/ScenarioCard/ScenarioCard.style.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,17 @@ export const ScenarioCardWrapper = styled.div`
8181
&:hover {
8282
color: white;
8383
}
84-
}
85-
justify-content:center;
84+
}
85+
justify-content:center;
8686
margin-top:4rem;
8787
width:100%;
8888
}
89-
89+
9090
9191
.active {
92-
display: blwock;
92+
display: block; // Corrected typo from 'blwock' to 'block'
9393
width: 100%;
94-
height: 100%;
94+
height: auto; // Changed from 100% to auto to fit content
9595
padding: 1.5rem;
9696
overflow: hidden;
9797
}
@@ -113,7 +113,7 @@ export const ScenarioCardWrapper = styled.div`
113113
}
114114
}
115115
.open-animate {
116-
height: 640px;
116+
height: auto; // Changed from fixed 640px to auto
117117
transition: height 0.2s ease-in;
118118
}
119119
.close-animate {

0 commit comments

Comments
 (0)