Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Fix express button display in the Cart block #10534

Merged
merged 2 commits into from
Aug 14, 2023
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,42 @@ $border-radius: 5px;
.wc-block-components-express-payment {
margin: auto;
position: relative;
}

.wc-block-components-express-payment__event-buttons {
list-style: none;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(calc(33% - 10px), 1fr));
grid-gap: 10px;
box-sizing: border-box;
width: 100%;
padding: 0;

.wc-block-components-express-payment__event-buttons {
width: 100%;
padding: 0;
margin: 0;
overflow: hidden;
text-align: center;
> li {
margin: 0;
overflow: hidden;
text-align: center;
width: 100%;

> li {
margin: 0;
> img {
width: 100%;

> img {
width: 100%;
height: 48px;
}
}
}

@include breakpoint("<782px") {
.wc-block-components-express-payment__event-buttons {
grid-template-columns: 1fr;
height: 48px;
}
}
}


.wc-block-components-express-payment--checkout {
/* stylelint-disable-next-line function-calc-no-unspaced-operator */
margin-top: calc($border-radius * 3);

.wc-block-components-express-payment__event-buttons {
list-style: none;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(calc(33% - 10px), 1fr));
grid-gap: 10px;

@include breakpoint("<782px") {
grid-template-columns: 1fr;
}
}

.wc-block-components-express-payment__title-container {
display: flex;
flex-direction: row;
Expand Down