diff options
-rw-r--r-- | packages/dev-tools-pages/ts/components/List.tsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/dev-tools-pages/ts/components/List.tsx b/packages/dev-tools-pages/ts/components/List.tsx index df1fdc53b..3041fc475 100644 --- a/packages/dev-tools-pages/ts/components/List.tsx +++ b/packages/dev-tools-pages/ts/components/List.tsx @@ -1,5 +1,6 @@ import * as React from 'react'; import styled from 'styled-components'; +import { media } from '../variables'; const StyledList = styled.ul` list-style-type: none; @@ -17,6 +18,11 @@ const StyledItem = styled.li` transform: rotate(45deg); margin-right: 1.09375rem; } + :not(:last-child) { + margin-bottom: 0.5625rem; + + ${media.small`margin-bottom: 0.375rem`}; + } `; interface ListProps { |