Skip to content

Commit

Permalink
Merge pull request #1348 from bluehost/fix/solutions-bug-fixes
Browse files Browse the repository at this point in the history
Small screen alignment fix for accountCard - PRESS0-2276
  • Loading branch information
circlecube authored Oct 17, 2024
2 parents 25b5e55 + 17c1820 commit d6035e1
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/app/pages/home/accountCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
getPlatformBaseUrl,
isJarvis,
} from '../../util/helpers';
import classNames from 'classnames';

const base = [
{
Expand Down Expand Up @@ -82,11 +83,19 @@ const AccountCard = ( { props } ) => {
<Card { ...props }>
<Card.Content>
<Title size={ 2 }>Bluehost Account</Title>
<ul className="nfd-grid nfd-grid-cols-3 nfd-h-full">
<ul
className={ classNames(
'max-[575px]:nfd-grid-cols-2 nfd-gap-3',
'nfd-grid nfd-grid-cols-3 nfd-h-full'
) }
>
{ base.map( ( link ) => (
<li
key={ link.id }
className="nfd-flex nfd-items-center nfd-justify-center"
className={ classNames(
'max-[575px]:nfd-items-start',
'nfd-flex nfd-items-center nfd-justify-center'
) }
>
<a
href={ link.href }
Expand Down

0 comments on commit d6035e1

Please sign in to comment.