Skip to content

Commit

Permalink
Merge pull request #2471 from woocommerce/fix/2461-make-responsive-ca…
Browse files Browse the repository at this point in the history
…mpaign-preview-card

Make campaign preview card responsive
  • Loading branch information
jorgemd24 authored Jul 17, 2024
2 parents 5069f65 + dd2626a commit de56fc5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions js/src/components/paid-ads/budget-section/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,14 @@ const BudgetSection = ( { formProps, disabled = false, children } ) => {
<Section
disabled={ disabled }
title={ __( 'Set your budget', 'google-listings-and-ads' ) }
description={ __(
'With Performance Max campaigns, you can set your own budget and Google’s Smart Bidding technology will serve the most appropriate ad, with the optimal bid, to maximize campaign performance. You only pay when people click on your ads, and you can start or stop your campaign whenever you want.',
'google-listings-and-ads'
) }
description={
<p>
{ __(
'With Performance Max campaigns, you can set your own budget and Google’s Smart Bidding technology will serve the most appropriate ad, with the optimal bid, to maximize campaign performance. You only pay when people click on your ads, and you can start or stop your campaign whenever you want.',
'google-listings-and-ads'
) }
</p>
}
>
<Section.Card>
<Section.Card.Body className="gla-budget-section__card-body">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function CampaignPreviewCard() {
return (
<Section.Card className="gla-campaign-preview-card">
<Section.Card.Body>
<Flex align="start" gap={ 9 }>
<Flex align="start" gap={ 9 } direction={ [ 'column', 'row' ] }>
<FlexBlock>
<Section.Card.Title>
{ __(
Expand Down

0 comments on commit de56fc5

Please sign in to comment.