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

Commit e6cb274

Browse files
committed
style(CommunityLogo): fix home logo offset
1 parent 8be8709 commit e6cb274

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

containers/CommunityBanner/DigestView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const CommunityLogoHolder = `${ICON_CMD}/community_logo_holder.svg`
2727

2828
const CommunityBrief = ({ content }) => (
2929
<CommunityWrapper>
30-
<LogoWrapper>
30+
<LogoWrapper raw={content.raw}>
3131
{content.logo ? (
3232
<CommunityLogo
3333
nonFill={R.contains(content.raw, NON_FILL_COMMUNITY)}

containers/CommunityBanner/styles/digest_view.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export const CommunityWrapper = styled.div`
3333
export const LogoWrapper = styled.div`
3434
position: relative;
3535
width: 60px;
36+
margin-top: ${({ raw }) => (raw === 'home' ? '-14px' : 0)};
3637
@media (max-height: 800px) {
3738
width: 50px;
3839
}
@@ -41,6 +42,7 @@ export const CommunityLogo = styled(Img)`
4142
fill: ${({ nonFill }) => (nonFill ? '' : theme('banner.desc'))};
4243
width: 60px;
4344
height: 60px;
45+
display: block;
4446
@media (max-height: 800px) {
4547
width: 50px;
4648
height: 50px;

0 commit comments

Comments
 (0)