Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 8476d36

Browse files
committed
style: card style mini
1 parent 8fa4490 commit 8476d36

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

components/LoadingEffects/styles/community_holder.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ export const CommunitiesText = styled.div`
2222
${cs.flex('align-center')};
2323
color: ${theme('banner.desc')};
2424
justify-content: center;
25-
width: 60px;
26-
height: 60px;
25+
width: 54px;
26+
height: 54px;
2727
border-radius: 4px;
2828
border-style: double;
2929
border-color: ${theme('banner.desc')};
3030
text-align: center;
31-
margin-top: -40px;
31+
margin-top: -35px;
32+
margin-bottom: 8px;
3233
`
3334
export const BannerText = styled.div`
3435
${cs.truncate('45px')};

containers/CommunitiesContent/styles/community_cards.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,12 @@ export const IssueLink = styled.a`
7474

7575
// fill only works for non-colored svgs
7676
export const CommunityIcon = styled(Img)`
77+
display: block;
7778
fill: ${({ nonFill }) => (nonFill ? '' : theme('banner.desc'))};
78-
width: 60px;
79-
height: 60px;
80-
margin-top: -40px;
79+
width: 54px;
80+
height: 54px;
81+
margin-bottom: 8px;
82+
margin-top: -35px;
8183
${Card}:hover & {
8284
fill: ${({ nonFill }) => (nonFill ? '' : theme('banner.title'))};
8385
}

0 commit comments

Comments
 (0)