Skip to content
Snippets Groups Projects
Unverified Commit 179e229d authored by Anton Kulyk's avatar Anton Kulyk Committed by GitHub
Browse files

Update homepage official collection display (#17404)

parent 2950365b
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ const CollectionItem = ({ collection, event }) => {
<ItemLink to={collection.getUrl()} data-metabase-event={event}>
<Card hoverable>
<CardContent>
<IconContainer>
<IconContainer color={icon.color}>
<CollectionIcon name={icon.name} />
</IconContainer>
<h4 className="overflow-hidden">
......
......@@ -22,7 +22,7 @@ export const IconContainer = styled.div`
flex-shrink: 0;
height: 42px;
width: 42px;
background-color: ${color("bg-dark")};
background-color: ${props => color(props.color || "bg-dark")};
margin-right: ${space(1)};
border-radius: 6px;
`;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment