File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
apps/pyconkr/src/components/Accordion Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -48,22 +48,34 @@ export default function Accordion() {
4848const AccordionWrapper = styled . div `
4949 display: flex;
5050 flex-direction: column;
51+ border-top: 1px solid ${ ( { theme } ) => theme . palette . primary . dark } ;
52+ border-bottom: 1px solid ${ ( { theme } ) => theme . palette . primary . dark } ;
5153` ;
5254
5355const Divider = styled . div `
5456 height: 1px;
5557 background-color: ${ ( { theme } ) => theme . palette . primary . light } ;
58+ margin: 0;
5659` ;
5760
5861const StyledAccordion = styled ( MuiAccordion ) `
5962 box-shadow: none;
63+ border-radius: 0;
6064
6165 &:before {
6266 display: none;
6367 }
6468
6569 &.MuiAccordion-root {
6670 margin: 0;
71+
72+ &:first-of-type {
73+ border-top: none;
74+ }
75+
76+ &:last-of-type {
77+ border-bottom: none;
78+ }
6779 }
6880
6981 .MuiAccordionSummary-root {
You can’t perform that action at this time.
0 commit comments