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 = ({
144
144
fillWidth
145
145
justifyContent = "space-between"
146
146
component = "span"
147
+ overflow = "hidden"
147
148
>
148
- < Text
149
+ < AccordionItemTitle
149
150
component = "span"
150
151
size = { customSize }
151
152
fillWidth = { fillWidth }
152
153
>
153
154
{ title }
154
- </ Text >
155
+ </ AccordionItemTitle >
155
156
{ showCheck && (
156
157
< CustomIcon
157
158
name = { isCompleted ? "check-in-circle" : "circle" }
@@ -289,3 +290,7 @@ const AccordionContent = styled(RadixAccordion.Content)<{ $padding: PaddingOptio
289
290
padding: ${ ( { theme, $padding } ) : string => theme . click . container . space [ $padding ] } ;
290
291
padding-top: 0;
291
292
` ;
293
+
294
+ const AccordionItemTitle = styled ( Text ) `
295
+ overflow: hidden;
296
+ ` ;
You can’t perform that action at this time.
0 commit comments