Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1430 from withspectrum/fix-link-preview-margin
Browse files Browse the repository at this point in the history
Fix link preview margins
  • Loading branch information
brianlovin authored Sep 7, 2017
2 parents 60ae8c0 + b61edfc commit 0d75725
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/linkPreview/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const LinkPreviewContainer = styled.a`
border: 1px solid ${({ theme }) => theme.border.default};
${'' /* box-shadow: ${Shadow.low} ${props => hexa(props.theme.bg.reverse, 0.1)}; */} overflow: hidden;
position: relative;
margin: 0;
margin: ${props => (props.margin ? props.margin : '0')};
padding: 0;
transition: ${Transition.reaction.off};
flex: auto;
Expand Down
3 changes: 2 additions & 1 deletion src/components/threadFeedCard/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ export const Attachments = styled(FlexRow)`
align-self: stretch;
align-items: center;
justify-content: space-between;
margin: 12px 0 8px;
margin: 0;
margin-top: 8px;
`;

export const CreatorName = styled.span`
Expand Down

0 comments on commit 0d75725

Please sign in to comment.