From afc79de96a25ca4a5b56086ebd6e1f068a256230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20Bie=C5=84?= Date: Thu, 9 Apr 2020 20:23:23 +0200 Subject: [PATCH] fix(list): fix padding issue --- src/components/List/List.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/List/List.js b/src/components/List/List.js index 4c7b1c27..7edfb16c 100644 --- a/src/components/List/List.js +++ b/src/components/List/List.js @@ -6,9 +6,8 @@ import { createBorderStyles, createBoxStyles } from '../common'; const StyledList = styled.ul` box-sizing: border-box; - width: ${props => (props.fullWidth ? '100%' : 'auto')}; - padding: 2px 4px 4px 2px; + padding: 4px; ${createBorderStyles({ windowBorders: true })} ${createBoxStyles()} ${props =>