Skip to content

Commit

Permalink
fix(UI): changed read more link design
Browse files Browse the repository at this point in the history
  • Loading branch information
newick authored and bmenant committed May 24, 2019
1 parent 6e68f35 commit c376687
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 31 deletions.
4 changes: 4 additions & 0 deletions src/components/organisms/NoticeDetails/Message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ const MessageBlock = styled.div`
font-size: 15px;
line-height: 1.4;
color: ${props => props.theme.primaryColor};
&:last-of-type {
margin-bottom: 0;
}
}
`;

Expand Down
3 changes: 1 addition & 2 deletions src/components/organisms/NoticeDetails/NoticeDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Contributor, Button, BorderButton } from '../../atoms';
import Like from '../../atoms/icons/types/Like';
import Dislike from '../../atoms/icons/types/Dislike';
import Source from './Source/Source';
import Anchor from './Source/AnchorIcon';
import SourceURL from './Source/SourceURL';
import DetailsContainer from './DetailsContainer';
import DetailsContent from './DetailsContent';
Expand Down Expand Up @@ -88,7 +87,7 @@ class NoticeDetails extends PureComponent<
<Message>{message}</Message>
{source && (
<Source>
<Anchor /> En savoir plus : <SourceURL>{source.url}</SourceURL>
En savoir plus : <SourceURL>{source.url}</SourceURL>
</Source>
)}

Expand Down
23 changes: 0 additions & 23 deletions src/components/organisms/NoticeDetails/Source/AnchorIcon.tsx

This file was deleted.

7 changes: 1 addition & 6 deletions src/components/organisms/NoticeDetails/Source/Source.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import styled from 'styled-components';

export default styled.div`
font-size: 12px;
font-size: 15px;
font-weight: bold;
& > svg {
margin-right: 5px;
vertical-align: bottom;
}
`;

0 comments on commit c376687

Please sign in to comment.