updated responsive height layout
This commit is contained in:
@@ -4,7 +4,7 @@ import newclientImage from '/newclient.png'
|
||||
function ButtonNew() {
|
||||
return (
|
||||
<div className="client newclient">
|
||||
<img src={newclientImage} />
|
||||
<img className="image" src={newclientImage} />
|
||||
<div className="content">
|
||||
<div>Join with the</div>
|
||||
<div>New Client</div>
|
||||
|
||||
@@ -5,7 +5,7 @@ function ButtonOld() {
|
||||
return (
|
||||
<div className="client oldclient">
|
||||
<div className="oldclient-inner">
|
||||
<img src={oldclientImg} />
|
||||
<img className="image" src={oldclientImg} />
|
||||
<div className="content">
|
||||
<div>JOIN WITH THE</div>
|
||||
<div>OLD CLIENT</div>
|
||||
|
||||
@@ -17,16 +17,8 @@
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
|
||||
img {
|
||||
height: 450px;
|
||||
.image {
|
||||
margin-top: 30px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.content {
|
||||
flex-grow: 1;
|
||||
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.button {
|
||||
|
||||
@@ -35,17 +35,6 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
|
||||
img {
|
||||
height: 450px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.content {
|
||||
flex-grow: 1;
|
||||
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.button {
|
||||
|
||||
@@ -17,6 +17,28 @@
|
||||
box-sizing: border-box;
|
||||
|
||||
box-shadow: rgba(67, 67, 67, 0.8) 0 0 5px;
|
||||
|
||||
.image {
|
||||
height: 450px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.content {
|
||||
flex-grow: 1;
|
||||
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// desktop/tablet less tall
|
||||
@media (max-height: 830px) and (min-width: 901px) {
|
||||
.buttons .client {
|
||||
height: 600px;
|
||||
|
||||
.image {
|
||||
height: 300px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user