mirror of
https://github.com/strapi/strapi.git
synced 2025-08-13 03:07:32 +00:00
Merge pull request #15123 from strapi/fix/overflows-in-repeatable-components
This commit is contained in:
commit
5de5a3bb4f
@ -325,6 +325,7 @@ const RelationInput = ({
|
||||
)
|
||||
}
|
||||
>
|
||||
{relations.length > 0 && (
|
||||
<RelationList overflow={overflow}>
|
||||
<VisuallyHidden id={ariaDescriptionId}>{listAriaDescription}</VisuallyHidden>
|
||||
<VisuallyHidden aria-live="assertive">{liveText}</VisuallyHidden>
|
||||
@ -354,6 +355,7 @@ const RelationInput = ({
|
||||
{ListItem}
|
||||
</List>
|
||||
</RelationList>
|
||||
)}
|
||||
{(description || error) && (
|
||||
<Box paddingTop={2}>
|
||||
<FieldHint />
|
||||
|
@ -14,7 +14,6 @@ export const Footer = styled(Box)`
|
||||
|
||||
export const Content = styled(Box)`
|
||||
border-bottom: none;
|
||||
overflow: hidden;
|
||||
|
||||
/* add the borders and make sure the top is transparent to avoid jumping with the hover effect */
|
||||
& > div > div {
|
||||
|
@ -15,7 +15,6 @@ exports[`RepeatableComponent | Accordion Content should render and match the sna
|
||||
|
||||
.c0 {
|
||||
border-bottom: none;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.c0 > div > div {
|
||||
|
Loading…
x
Reference in New Issue
Block a user