mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
Merge pull request #21766 from overleaf/mf-checkout-main-layout-flexbox
[web] Use flex for layout of the new payment page to match figma width on the left card GitOrigin-RevId: ca2b104ee50b7df0f352c3baaa610514e0432ffd
This commit is contained in:
parent
52eb08ae96
commit
c5e1c63959
1 changed files with 34 additions and 32 deletions
|
@ -141,13 +141,22 @@
|
||||||
|
|
||||||
.payment-container {
|
.payment-container {
|
||||||
padding-top: var(--spacing-13);
|
padding-top: var(--spacing-13);
|
||||||
|
|
||||||
.payment-row {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: var(--spacing-10);
|
gap: var(--spacing-10);
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
|
@include media-breakpoint-down(lg) {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
.payment-review-panel {
|
.payment-review-panel {
|
||||||
|
width: 339px;
|
||||||
|
|
||||||
|
@include media-breakpoint-down(lg) {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
color: var(--neutral-70);
|
color: var(--neutral-70);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
@ -179,13 +188,6 @@
|
||||||
.payment-right-section {
|
.payment-right-section {
|
||||||
padding: var(--spacing-08);
|
padding: var(--spacing-08);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
@include media-breakpoint-up(md) {
|
|
||||||
.payment-review-panel {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.group-heading {
|
.group-heading {
|
||||||
|
|
Loading…
Reference in a new issue