Skip to content

Commit

Permalink
Fix inconsistent layout body padding on some pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkguidaven committed Oct 1, 2024
1 parent e967583 commit 5ed6a6a
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@import "@wordpress/base-styles/mixins";

.content-sidebar {
margin-block-start: 16px;
grid-row: 4 / span 1;

@include break-xlarge {
Expand Down
4 changes: 4 additions & 0 deletions client/a8c-for-agencies/sections/purchases/billing/style.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.billing-dashboard .a4a-layout__body {
padding-block-start: 32px;
}

.a4a-billing__header-actions {
@include breakpoint-deprecated( "<660px" ) {
display: block;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,20 @@ import LayoutTop from 'calypso/a8c-for-agencies/components/layout/top';
import MobileSidebarNavigation from 'calypso/a8c-for-agencies/components/sidebar/mobile-sidebar-navigation';
import InvoicesList from '../invoices-list';

import './style.scss';

export default function InvoicesOverview() {
const translate = useTranslate();

const title = translate( 'Invoices' );

return (
<Layout title={ title } wide sidebarNavigation={ <MobileSidebarNavigation /> }>
<Layout
className="invoices-overview"
title={ title }
wide
sidebarNavigation={ <MobileSidebarNavigation /> }
>
<LayoutTop>
<LayoutHeader>
<Title>{ title } </Title>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.invoices-overview .a4a-layout__body {
padding-block-start: 32px;
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
@import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/mixins";

.licenses-overview .search {
box-shadow: 0 0 0 1px var(--color-neutral-5);
.licenses-overview {
.a4a-layout__body {
padding-block-start: 32px;
}

.search {
box-shadow: 0 0 0 1px var(--color-neutral-5);
}
}

.licenses-overview__empty-message {
Expand Down

0 comments on commit 5ed6a6a

Please sign in to comment.