We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f4071f commit 72afc52Copy full SHA for 72afc52
src/components/ExpandableCard.tsx
@@ -65,19 +65,22 @@ const ExpandableCard = ({
65
_hover={{
66
backgroundColor: "ednBackground",
67
}}
68
- borderBottomWidth="0"
69
index={isVisible ? [0] : []}
70
>
71
<AccordionItem borderTopWidth="0" flex="1">
72
<Heading as="h3" m={0}>
73
<AccordionButton
74
width="100%"
75
- p={6}
+ px="6"
+ py="6"
76
flex="1"
77
onClick={onClick}
78
79
80
81
+ _expanded={{
82
+ backgroundColor: "transparent",
83
+ }}
84
85
<Box
86
display="flex"
@@ -122,6 +125,8 @@ const ExpandableCard = ({
122
125
</AccordionButton>
123
126
</Heading>
124
127
<AccordionPanel
128
+ p="0"
129
+ mt="0"
130
paddingX="6"
131
paddingBottom="6"
132
paddingTop="0"
0 commit comments