Skip to content

Commit

Permalink
Fix #33 MyCompany Wallet text alignment
Browse files Browse the repository at this point in the history
Signed-off-by: Sreelakshmy Unnikrishnan <[email protected]>
  • Loading branch information
sreelakshmyunnikrishnan committed Sep 9, 2023
1 parent 103d216 commit 032c4e6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
3 changes: 3 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@
padding-left: 24px !important;
padding-right: 24px !important;
}
.powered-by-logo-text{
display:none;
}
}

@media all and (max-device-width: 768px) {
Expand Down
11 changes: 5 additions & 6 deletions src/views/company-views/components/landing/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,23 @@ const StyledLogoText = styled.div`
font-weight: 500;
font-family: SF Pro Display,SF Pro Icons,Helvetica Neue,Helvetica,Arial,sans-serif;
color: white;
padding-top:8px;
padding-top:9px;
`;

const StyledLink = styled.a`
color: #40a9ff;
`;

const StyledCompanyHeader = styled.div`
padding-top:5px;
padding-top:7px;
color:white;
font-size: 18px;
font-size: 16px;
font-weight: 600;
font-family: SF Pro Display,SF Pro Icons,Helvetica Neue,Helvetica,Arial,sans-serif;
`;

const StyledCompanyLogo = styled.img`
width: 190px;
width: 185px;
`;

const StyledSubHeaderCard = styled(Card)`
Expand Down Expand Up @@ -532,8 +532,7 @@ export const LandingPage = () => {
<Col md={12} xs={24}>
<Space>
<StyledCompanyLogo src={headerLogo} alt="header" />
<StyledCompanyHeader>{t('MyCompany Wallet')}</StyledCompanyHeader>
<StyledLogoText>(Powered by <StyledLink style={{margin:0}} target='_blank' href='https://igrant.io'>iGrant.io</StyledLink>)</StyledLogoText>
<StyledCompanyHeader>{t('MyCompany Wallet')}</StyledCompanyHeader><StyledLogoText className='powered-by-logo-text'>(Powered by <StyledLink target='_blank' href='https://igrant.io'>iGrant.io</StyledLink>)</StyledLogoText>
</Space>
</Col>
<Col md={6} offset={6} xs={0}>
Expand Down

0 comments on commit 032c4e6

Please sign in to comment.