Skip to content

Commit

Permalink
Apply max width to hero content
Browse files Browse the repository at this point in the history
  • Loading branch information
nateweller committed Dec 15, 2024
1 parent 62838d3 commit b51d70e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const ScanAdminSectionHero: React.FC = () => {

return (
<AdminSectionHero>
<AdminSectionHero.Main>
<AdminSectionHero.Main className={ styles[ 'hero-main' ] }>
<Text mb={ 2 } ref={ setDailyScansPopoverAnchor }>
{ lastCheckedLocalTimestamp
? sprintf(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const ScanningAdminSectionHero: React.FC = () => {

return (
<AdminSectionHero>
<AdminSectionHero.Main className={ styles[ 'scanning-main' ] }>
<AdminSectionHero.Main className={ styles[ 'hero-main' ] }>
<AdminSectionHero.Heading>
{ __( 'Your results will be ready soon', 'jetpack-protect' ) }
</AdminSectionHero.Heading>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.scanning-main {
.hero-main {
max-width: 512px;
}

Expand Down

0 comments on commit b51d70e

Please sign in to comment.