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

Fix link padding in TT3 #8908

Merged
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 4 additions & 1 deletion assets/js/base/components/sidebar-layout/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,14 @@
.is-large {
.wc-block-components-sidebar {
.wc-block-components-totals-item,
.wc-block-components-totals-coupon-link,
.wc-block-components-panel {
padding-left: $gap;
padding-right: $gap;
}
.wc-block-components-totals-coupon-link {
margin-left: $gap;
margin-right: $gap;
}

.wc-block-components-panel {
.wc-block-components-totals-item {
Expand Down
10 changes: 8 additions & 2 deletions assets/js/blocks/checkout/styles/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,14 @@
}
}
.wc-block-components-totals-item,
.wc-block-components-totals-coupon-link,
.wc-block-components-panel {
padding-left: $gap;
padding-right: $gap;
}
.wc-block-components-totals-coupon-link {
margin-left: $gap;
margin-right: $gap;
}
}
}
// Skeleton is shown before mobile classes are appended.
Expand All @@ -79,11 +82,14 @@
padding: 0;
width: 100%;
.wc-block-components-totals-item,
.wc-block-components-totals-coupon-link,
.wc-block-components-panel {
padding-left: 0;
padding-right: 0;
}
.wc-block-components-totals-coupon-link {
margin-left: 0;
margin-right: 0;
}
}
}
}
Expand Down