Align Titles - logo

This commit is contained in:
Letícia Camara 2018-10-18 16:03:24 -03:00
parent b758b1ead2
commit 06ff3e0ff9
6 changed files with 21 additions and 10 deletions

View file

@ -360,7 +360,6 @@ ul.social-buttons {
} }
.ambassadorsTitle { .ambassadorsTitle {
margin-top: 0 !important; margin-top: 0 !important;
margin-left: -97px;
} }
.about.bg-secondary > div { .about.bg-secondary > div {
padding-left: 0 !important; padding-left: 0 !important;
@ -372,16 +371,29 @@ ul.social-buttons {
@media screen and (min-width: 328px) { @media screen and (min-width: 328px) {
.ambassadorsTitle { .ambassadorsTitle {
margin-left: -97px; font-weight: bold;
} }
.marketingMargin { .marketingMargin {
margin-left: -147px !important; font-weight: bold;
} }
.merchantsMargin { .merchantsMargin {
margin-left: -150px !important; font-weight: bold;
} }
} }
th { th {
text-align: left !important; text-align: left !important;
}
#mainNav p {
margin-left: 0 !important;
}
header .col-md-10, header .col-md-10 > div {
padding-left: 0 !important;
}
.search-books-input-wrapper > div {
margin-left: 0 !important;
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

View file

@ -14,13 +14,15 @@ import AppLogo from '../assets/img/header/logo.png';
function AppHeader() { function AppHeader() {
return ( return (
<AppBar position="static" color="inherit" style={{backgroundColor: '#138F52'}}> <AppBar position="static" color="inherit" style={{backgroundColor: '#138F52'}}>
<div className="col-md-10 mx-md-auto" >
<Toolbar> <Toolbar>
<Typography style={{margin: '0 auto'}} variant="title" color="inherit"> <Typography variant="title" color="inherit">
<Link to="/"> <Link to="/">
<img src={AppLogo} className="app-book-menu-remove-icon" alt="Palmpay logo" /> <img src={AppLogo} className="app-book-menu-remove-icon" alt="Palmpay logo" />
</Link> </Link>
</Typography> </Typography>
</Toolbar> </Toolbar>
</div>
</AppBar> </AppBar>
); );
} }

View file

@ -24,7 +24,6 @@ import LoadingGif from '../../assets/img/loading_icon.gif';
const countries = Countries(); const countries = Countries();
const centerStyle = { const centerStyle = {
textAlign: 'center',
marginTop: 20, marginTop: 20,
marginBottom: 20 marginBottom: 20
}; };
@ -313,7 +312,7 @@ class AmbassadorsPage extends Component {
<img src={LoadingGif} alt="Loading" style={loadingStyle} /> <img src={LoadingGif} alt="Loading" style={loadingStyle} />
): ( ): (
<div> <div>
<p style={{ textAlign: 'left', marginLeft: 20, marginRight: 20 }}> <p style={{ textAlign: 'left', marginRight: 20 }}>
<FormattedHTMLMessage id="ambassadors.description1" /> <FormattedHTMLMessage id="ambassadors.description1" />
<Link to="/merchants"> <Link to="/merchants">
<FormattedMessage id="ambassadors.merchants_link_description" /> <FormattedMessage id="ambassadors.merchants_link_description" />

View file

@ -7,7 +7,6 @@ import AppHeader from '../AppHeader';
import Footer from '../Footer'; import Footer from '../Footer';
const centerStyle = { const centerStyle = {
textAlign: 'center',
marginTop: 20, marginTop: 20,
marginBottom: 20 marginBottom: 20
}; };

View file

@ -25,7 +25,6 @@ import "./MerchantsPage.css";
const countries = Countries(); const countries = Countries();
const centerStyle = { const centerStyle = {
textAlign: 'center',
marginTop: 20, marginTop: 20,
marginBottom: 20 marginBottom: 20
}; };
@ -265,7 +264,7 @@ class MerchantsPage extends Component {
<img src={LoadingGif} alt="Loading" style={loadingStyle} /> <img src={LoadingGif} alt="Loading" style={loadingStyle} />
): ( ): (
<div> <div>
<p style={{ textAlign: 'left', marginLeft: 20, marginRight: 20 }}> <p style={{ textAlign: 'left', marginRight: 20 }}>
<FormattedHTMLMessage id="merchants.description1" /> <FormattedHTMLMessage id="merchants.description1" />
<Link to="/ambs"> <Link to="/ambs">
<FormattedMessage id="merchants.ambassadors_link_description" /> <FormattedMessage id="merchants.ambassadors_link_description" />