Skip to content

Commit 9e5287a

Browse files
committed
Consistently set top bar height in Checkout
1 parent 5771b08 commit 9e5287a

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

client/layout/masterbar/style.scss

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ body.is-mobile-app-view {
110110
background-color: var(--studio-white);
111111
border-bottom: none 0;
112112
color: var(--color-checkout-masterbar-text);
113-
height: var(--masterbar-height);
113+
height: var(--masterbar-checkout-height);
114114
position: absolute;
115115
padding-inline-end: 1.5em;
116116

@@ -119,10 +119,6 @@ body.is-mobile-app-view {
119119
padding-inline-start: 1.5em;
120120
}
121121

122-
@include break-mobile {
123-
height: var(--masterbar-checkout-height);
124-
}
125-
126122
@include breakpoint-deprecated( ">960px" ) {
127123
background-color: var(--color-checkout-masterbar-background);
128124
}

client/my-sites/checkout/src/components/checkout-main-content.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ const WPCheckoutCompletedMainContent = styled.div`
15321532
const WPCheckoutSidebarContent = styled.div`
15331533
background: ${ ( props ) => props.theme.colors.background };
15341534
grid-area: sidebar-content;
1535-
margin-top: var( --masterbar-height );
1535+
margin-top: var( --masterbar-checkout-height );
15361536
15371537
@media ( ${ ( props ) => props.theme.breakpoints.bigPhoneUp } ) {
15381538
margin-top: var( --masterbar-checkout-height );

0 commit comments

Comments
 (0)