Skip to content

Commit c8b7cc9

Browse files
author
Lucas Bento
committed
Change the close button on UsefulContentSection to match the app name warning
1 parent f4669e4 commit c8b7cc9

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

src/components/common/UsefulContentSection.js

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,18 @@ const Icon = styled(props => (
2929
`
3030

3131
const CloseButton = styled(({ toggleVisibility, ...props }) => (
32-
<Button
33-
{...props}
34-
type="ghost"
35-
shape="circle"
36-
icon="close"
37-
onClick={toggleVisibility}
38-
/>
32+
<Button {...props} type="link" icon="close" onClick={toggleVisibility} />
3933
))`
4034
float: right;
4135
position: absolute;
42-
top: 10px;
43-
right: 10px;
36+
top: 11px;
37+
right: 12px;
4438
font-size: 12px;
4539
border-width: 0px;
4640
width: 20px;
4741
height: 20px;
4842
margin-right: 8px;
49-
&,
43+
color: rgba(0, 0, 0, 0.45);
5044
&:hover,
5145
&:focus {
5246
color: #24292e;

0 commit comments

Comments
 (0)