Browse Source

feat(Paypal): fix height to remove vertical scrollbar #31

master
Clement G 2 years ago
parent
commit
2ba9564c5c
  1. 2
      src/components/banner/Paypal.jsx
  2. 4
      src/scss/_app.scss

2
src/components/banner/Paypal.jsx

@ -14,7 +14,7 @@ const Paypal = (props) => {
const pixelLink="https://www.paypal.com/"+localeStringComplete+"/i/scr/pixel.gif";
return (
<div style={{backgroundColor:'#fff'}} className="d-inline-block m-auto p-2 rounded">
<div style={{backgroundColor:'#fff',height:"80px"}} className="d-inline-block m-auto p-2 rounded">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="KB2Z7L9KARS7C" />

4
src/scss/_app.scss

@ -47,10 +47,10 @@ main {
background-attachment: fixed;
background-repeat: no-repeat;
background-color: $mv-blue-color;
min-height: calc(100% - 106px);
min-height: calc(100% - 170px);
overflow: auto;
padding-top: 72px;
padding-bottom: 36px;
padding-bottom: 100px;
}
header {

Loading…
Cancel
Save