fix: add top padding

This commit is contained in:
tristan 2019-09-12 18:24:57 +08:00
parent 8d2e950e40
commit ea6536dac5
2 changed files with 4 additions and 2 deletions

View File

@ -11,8 +11,8 @@ const Wrapper = styled.aside`
align-items: center;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
.icon {
width: 1.8rem;
height: 1.8rem;
width: 1.7rem;
height: 1.7rem;
}
`;

View File

@ -33,6 +33,8 @@ const Wrapper = styled.section`
font-size: 6rem;
width: 6rem;
opacity: 0.6;
padding-top: 0.4rem;
border-top: 0.6rem solid ${({ bgColor }) => bgColor};
}
> h2 {