File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/components/MultiAccordion Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -144,14 +144,15 @@ const MultiAccordionItem = ({
144144 fillWidth
145145 justifyContent = "space-between"
146146 component = "span"
147+ overflow = "hidden"
147148 >
148- < Text
149+ < AccordionItemTitle
149150 component = "span"
150151 size = { customSize }
151152 fillWidth = { fillWidth }
152153 >
153154 { title }
154- </ Text >
155+ </ AccordionItemTitle >
155156 { showCheck && (
156157 < CustomIcon
157158 name = { isCompleted ? "check-in-circle" : "circle" }
@@ -289,3 +290,7 @@ const AccordionContent = styled(RadixAccordion.Content)<{ $padding: PaddingOptio
289290 padding: ${ ( { theme, $padding } ) : string => theme . click . container . space [ $padding ] } ;
290291 padding-top: 0;
291292` ;
293+
294+ const AccordionItemTitle = styled ( Text ) `
295+ overflow: hidden;
296+ ` ;
You can’t perform that action at this time.
0 commit comments