Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions changelog/update-bring-back-card-borders
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: update

update: bring back card borders on settings screens.
22 changes: 0 additions & 22 deletions client/settings/express-checkout/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -156,28 +156,6 @@
}
}

body {
&.woocommerce-payments-checkout-section {
.express-checkouts {
.express-checkouts-list {
.express-checkout {
padding-left: 0;
padding-right: 0;
&:first-child {
padding-top: 0;
}
&:last-child {
padding-bottom: 0;
}
}
.express-checkout__label-container {
display: block;
}
}
}
}
}

@media ( min-width: 661px ) {
body {
&.woocommerce-payments-checkout-section {
Expand Down
8 changes: 4 additions & 4 deletions client/settings/payment-methods-list/style.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
.payment-methods {
position: relative;

.wcpay-card-body {
padding: 0;
}

.payment-methods-list {
margin: 0;
}
Expand All @@ -12,10 +16,6 @@
}
}

.wcpay-card-body:not( .payment-methods__express-checkouts ) {
padding: 0;
}

.components-popover__content {
position: relative;
right: 120px;
Expand Down
40 changes: 1 addition & 39 deletions client/settings/settings-manager/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,51 +3,13 @@ body {
&.woocommerce_page_wc-settings {
&.woocommerce-payments-checkout-section {
background: #fff;

.settings-content,
#wpbody-content,
#wpcontent,
#mainform {
background: #fff;
}

.woopay-settings {
.woopay-settings__appearance-card-settings,
.woopay-settings__appearance-card-preview {
box-shadow: none;
}
}
.woopay-settings__preview .preview-layout {
border: 0;
}
}

&.woocommerce-payments-checkout-section {
.components-surface {
&.components-card {
box-shadow: none;
}
}
}
}

&.woocommerce-payments-checkout-section {
.components-surface.components-card {
box-shadow: none;
}
.components-card__body {
&.components-card-body.wcpay-card-body {
padding: 0;
}
}
.payment-method__list-item {
padding-left: 0;
padding-right: 0;
&:first-child {
padding-top: 0;
}
&:last-child {
padding-bottom: 0;
}
}
}
}
Loading