From 54e064e6570f6bf7590022a2f9e96e1a0f201f05 Mon Sep 17 00:00:00 2001 From: Francois Zaninotto Date: Mon, 20 Mar 2017 21:52:07 +0100 Subject: [PATCH] Fix list layout breaking when there are more than 3 filters Closes #485 --- src/mui/list/FilterForm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mui/list/FilterForm.js b/src/mui/list/FilterForm.js index 0aa0c469bff..2de6219c9a8 100644 --- a/src/mui/list/FilterForm.js +++ b/src/mui/list/FilterForm.js @@ -8,7 +8,7 @@ import compose from 'recompose/compose'; import translate from '../../i18n/translate'; const styles = { - card: { float: 'right', marginTop: '-14px', paddingTop: 0, display: 'flex', alignItems: 'flex-end' }, + card: { marginTop: '-14px', paddingTop: 0, display: 'flex', justifyContent: 'flex-end', alignItems: 'flex-end', flexWrap: 'wrap' }, body: { display: 'inline-block', display: 'flex', alignItems: 'flex-end' }, spacer: { width: 48 }, icon: { color: '#00bcd4', maddingBottom: 0 },