Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit8476d36

Browse files
committed
style: card style mini
1 parent8fa4490 commit8476d36

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
exportconstBannerText=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
exportconstCommunityIcon=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)

[8]ページ先頭

©2009-2025 Movatter.jp