Skip to content
This repository was archived by the owner on Apr 19, 2021. It is now read-only.

Commit 64c069c

Browse files
committed
adjust the border radius.
1 parent d77083b commit 64c069c

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/components/blog/PostBanner.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@ import { colors } from '../../styles/variables'
66
const StyledPostBanner = styled.header`
77
position: relative;
88
overflow-x: hidden;
9-
border-top-left-radius: 3px;
10-
border-top-right-radius: 3px;
9+
border-top-left-radius: 2px;
10+
border-top-right-radius: 2px;
1111
1212
.bg {
13+
display: block;
1314
background-size: cover;
1415
background-position: center;
1516
height: 40rem;
17+
border-top-left-radius: 2px;
18+
border-top-right-radius: 2px;
1619
}
1720
1821
.contents {

src/templates/blog.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ const StyledBlogTemplate = styled.div`
4848
max-width: 80rem;
4949
margin: 8rem auto;
5050
overflow: hidden;
51-
border-bottom-left-radius: 3px;
52-
border-bottom-right-radius: 3px;
51+
border-radius: 3px;
5352
background-color: ${colors.white};
5453
border: ${borders.light2};
5554

0 commit comments

Comments
 (0)