Skip to content

Commit

Permalink
Remove all reference to 'compact' prop.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkguidaven committed Oct 1, 2024
1 parent 0aedb78 commit 0cadafb
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ function Checkout( { isClient, referralBlogId }: Props ) {
title={ title }
wide
withBorder={ ! isClient }
compact
sidebarNavigation={ ! isClient && <MobileSidebarNavigation /> }
>
{ isClient ? null : (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ function Hosting( { section }: Props ) {
title={ isNarrowView ? translate( 'Hosting' ) : translate( 'Hosting Marketplace' ) }
wide
withBorder
compact
>
<LayoutTop>
<PendingPaymentNotification />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ function PressableOverview() {
title={ translate( 'Pressable hosting' ) }
wide
withBorder
compact
>
<LayoutTop>
<LayoutHeader>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ function ProductsOverview( { siteId, suggestedProduct, productBrand, searchQuery
title={ translate( 'Product Marketplace' ) }
wide
withBorder
compact
>
<LayoutTop withNavigation>
<PendingPaymentNotification />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function WpcomOverview() {
const WPCOM_PRICING_PAGE_LINK = 'https://wordpress.com/pricing/';

return (
<Layout className="wpcom-overview" title={ translate( 'WordPress.com hosting' ) } wide compact>
<Layout className="wpcom-overview" title={ translate( 'WordPress.com hosting' ) } wide>
<LayoutTop>
<LayoutHeader>
<Breadcrumb
Expand Down
2 changes: 1 addition & 1 deletion client/a8c-for-agencies/sections/overview/overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function Overview() {
const title = translate( 'Agency Overview' );

return (
<Layout title={ title } compact wide>
<Layout title={ title } wide>
<LayoutTop>
<LayoutHeader className="a4a-overview-header">
<Title>{ title }</Title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function GetStarted() {
};

return (
<Layout className="team-list-get-started" title={ title } wide compact>
<Layout className="team-list-get-started" title={ title } wide>
<LayoutTop>
<LayoutHeader>
<Title>{ title }</Title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,7 @@ export default function TeamAcceptInvite( { agencyId, inviteId, secret }: Props
}

return (
<Layout
className="team-accept-invite"
title={ translate( 'Accepting team invite' ) }
wide
compact
>
<Layout className="team-accept-invite" title={ translate( 'Accepting team invite' ) } wide>
<LayoutTop>
<LayoutHeader>
<Title>{ title }</Title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default function TeamInvite() {
}, [] );

return (
<Layout className="team-invite" title={ title } wide compact>
<Layout className="team-invite" title={ title } wide>
<LayoutTop>
<LayoutHeader>
<Breadcrumb
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default function TeamList( { currentTab }: Props ) {
}

return (
<Layout className="team-list full-width-layout-with-table" title={ title } wide compact>
<Layout className="team-list full-width-layout-with-table" title={ title } wide>
<LayoutTop withNavigation>
<LayoutHeader>
<Title>{ title }</Title>
Expand Down

0 comments on commit 0cadafb

Please sign in to comment.