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

Fix Cart & Checkout sidebar layout broken in some themes #3111

Merged
merged 1 commit into from
Sep 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions assets/js/base/components/sidebar-layout/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
position: relative;

.wc-block-components-main {
box-sizing: border-box;
margin: 0;
padding-right: percentage($gap-largest / 1060px); // ~1060px is the default width of the content area in Storefront.
width: 65%;
}
}

.wc-block-components-sidebar {
box-sizing: border-box;
margin: 0;
padding-left: percentage($gap-large / 1060px);
width: 35%;
Expand Down