Skip to content

Commit

Permalink
style(entity-list-item): only select the direct li childs in the enti…
Browse files Browse the repository at this point in the history
…ty list components

style contentful#2077
  • Loading branch information
mgueyraud committed Nov 2, 2022
1 parent b01c0ad commit c5142c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/entity-list/src/EntityList.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ export const getEntityListStyles = () => ({
left: -1,
backgroundColor: tokens.colorPrimary,
},
'& li:first-child': {
'&>li:first-child': {
borderTopLeftRadius: tokens.borderRadiusMedium,
borderTopRightRadius: tokens.borderRadiusMedium,
},
'& li:last-child': {
'&>li:last-child': {
borderBottomLeftRadius: tokens.borderRadiusMedium,
borderBottomRightRadius: tokens.borderRadiusMedium,
},
Expand Down

0 comments on commit c5142c3

Please sign in to comment.