Skip to content

Commit

Permalink
Fix the broken layout of PaidAdsFeaturesSection for the smaller viewp…
Browse files Browse the repository at this point in the history
…orts.

Address #1650 (comment)
  • Loading branch information
eason9487 committed Aug 30, 2022
1 parent 8e72981 commit 656aeb9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,11 @@ export default function PaidAdsFeaturesSection( {
>
<Section.Card>
<Section.Card.Body>
<Flex align="center" gap={ 9 }>
<Flex
className="gla-paid-ads-features-section__content"
align="center"
gap={ 9 }
>
<FlexBlock>
<Section.Card.Title>
{ __(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@
color: $gray-900;
}

@media (max-width: $break-small) {
&__content {
flex-direction: column;
gap: $grid-unit-20;
}
}

&__subtitle {
line-height: $gla-line-height-medium;
font-size: $gla-font-small;
Expand Down

0 comments on commit 656aeb9

Please sign in to comment.