From ef937ab2017022c0deaf0a1bccb9d322986e93d5 Mon Sep 17 00:00:00 2001 From: Kyle Doherty <kyle.l.doherty@gmail.com> Date: Wed, 11 Jul 2018 14:39:21 -0700 Subject: [PATCH] change fixed height --- frontend/src/metabase/components/CollectionLanding.jsx | 4 ++-- frontend/src/metabase/components/EntityItem.jsx | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/frontend/src/metabase/components/CollectionLanding.jsx b/frontend/src/metabase/components/CollectionLanding.jsx index 6f69ddc832d..1d27362963e 100644 --- a/frontend/src/metabase/components/CollectionLanding.jsx +++ b/frontend/src/metabase/components/CollectionLanding.jsx @@ -38,7 +38,7 @@ import PinPositionDropTarget from "metabase/containers/dnd/PinPositionDropTarget import PinDropTarget from "metabase/containers/dnd/PinDropTarget"; import ItemsDragLayer from "metabase/containers/dnd/ItemsDragLayer"; -const ROW_HEIGHT = 72; +const ROW_HEIGHT = 86; import { entityListLoader } from "metabase/entities/containers/EntityListLoader"; @@ -308,7 +308,7 @@ export const NormalItem = ({ onToggleSelected, onMove, }) => ( - <Link to={item.getUrl()}> + <Link to={item.getUrl()} className="block"> <EntityListItem showSelect={selection.size > 0} selectable diff --git a/frontend/src/metabase/components/EntityItem.jsx b/frontend/src/metabase/components/EntityItem.jsx index e9000706e57..5180a875bc8 100644 --- a/frontend/src/metabase/components/EntityItem.jsx +++ b/frontend/src/metabase/components/EntityItem.jsx @@ -21,9 +21,7 @@ const EntityItemWrapper = Flex.extend` `; export const EntityListItem = props => ( - <Box mt={1} mb={2}> - <EntityItem {...props} /> - </Box> + <EntityItem {...props} /> ); export const EntityCardItem = props => ( -- GitLab