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`
15
15
align-items: center;
16
16
border: 1px solid var(--vscode-list-inactiveSelectionBackground);
17
17
background: var(--vscode-list-inactiveSelectionBackground);
18
+ padding: 5px 10px;
18
19
` ;
19
20
const AuthorLinkWrap = styled . div `
20
21
margin-left: 5px;
@@ -25,7 +26,7 @@ const Body = styled.div`
25
26
border-top: none;
26
27
` ;
27
28
const Time = styled . div `
28
- margin-left: 20px ;
29
+ margin-left: 15px ;
29
30
` ;
30
31
31
32
const ChildComment = styled . div `
Original file line number Diff line number Diff line change @@ -2,15 +2,20 @@ import * as React from 'react';
2
2
import styled from 'styled-components' ;
3
3
import { IMRDetailMR } from 'src/typings/respResult' ;
4
4
5
+ const Link = styled . a `
6
+ position: relative;
7
+ top: 1px;
8
+ ` ;
5
9
const AvatarImg = styled . img `
6
10
width: 24px;
7
11
height: 24px;
12
+ border-radius: 50%;
8
13
` ;
9
14
10
15
export const Avatar = ( { for : author } : { for : Partial < IMRDetailMR [ 'author' ] > } ) => (
11
- < a href = { author . avatar } >
16
+ < Link href = { author . avatar } >
12
17
< AvatarImg src = { author . avatar } alt = '' />
13
- </ a >
18
+ </ Link >
14
19
) ;
15
20
16
21
export const AuthorLink = ( { for : author } : { for : IMRDetailMR [ 'author' ] } ) => (
You can’t perform that action at this time.
0 commit comments