File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ const Header = styled.div`
1515 align-items: center;
1616 border: 1px solid var(--vscode-list-inactiveSelectionBackground);
1717 background: var(--vscode-list-inactiveSelectionBackground);
18+ padding: 5px 10px;
1819` ;
1920const AuthorLinkWrap = styled . div `
2021 margin-left: 5px;
@@ -25,7 +26,7 @@ const Body = styled.div`
2526 border-top: none;
2627` ;
2728const Time = styled . div `
28- margin-left: 20px ;
29+ margin-left: 15px ;
2930` ;
3031
3132const ChildComment = styled . div `
Original file line number Diff line number Diff line change @@ -2,15 +2,20 @@ import * as React from 'react';
22import styled from 'styled-components' ;
33import { IMRDetailMR } from 'src/typings/respResult' ;
44
5+ const Link = styled . a `
6+ position: relative;
7+ top: 1px;
8+ ` ;
59const AvatarImg = styled . img `
610 width: 24px;
711 height: 24px;
12+ border-radius: 50%;
813` ;
914
1015export const Avatar = ( { for : author } : { for : Partial < IMRDetailMR [ 'author' ] > } ) => (
11- < a href = { author . avatar } >
16+ < Link href = { author . avatar } >
1217 < AvatarImg src = { author . avatar } alt = '' />
13- </ a >
18+ </ Link >
1419) ;
1520
1621export const AuthorLink = ( { for : author } : { for : IMRDetailMR [ 'author' ] } ) => (
You can’t perform that action at this time.
0 commit comments