CASH-1480
CASH-1480 right aligned price for insurance in mobile view when user can use afterpay
This commit is contained in:
parent
64942df3d0
commit
5015766309
1 changed files with 41 additions and 0 deletions
|
|
@ -214,6 +214,47 @@ export default {
|
|||
|
||||
&.is-insurance {
|
||||
padding-bottom: 3rem;
|
||||
|
||||
@include media-breakpoint-down(md) {
|
||||
padding-bottom: 0.75rem;
|
||||
.pricing-info {
|
||||
top: 0.75rem;
|
||||
right: 0.75rem;
|
||||
bottom: auto;
|
||||
left: auto;
|
||||
width: auto;
|
||||
margin: 0;
|
||||
text-align: end;
|
||||
max-width: 60%;
|
||||
}
|
||||
|
||||
@media (max-width: 320px) {
|
||||
min-height: 80px;
|
||||
max-height: 120px;
|
||||
|
||||
.pricing-info {
|
||||
top: 2.1rem;
|
||||
right: auto;
|
||||
left: 2.3rem;
|
||||
bottom: auto;
|
||||
position: absolute;
|
||||
width: calc(100% - 2.5rem);
|
||||
text-align: left;
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
|
||||
&.has-subheader {
|
||||
@media (max-width: 320px) {
|
||||
min-height: 100px;
|
||||
max-height: 160px;
|
||||
|
||||
.pricing-info {
|
||||
top: 3.9rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.has-subheader {
|
||||
|
|
|
|||
Loading…
Reference in a new issue