Prevent scorecard overflow

This commit is contained in:
Sam Becker 2025-02-12 23:32:49 -06:00
parent 1f6db2013d
commit be61ae61a3
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ export default function AdminAppInsightsClient({
<ScoreCardRow
icon={<MdLightbulbOutline size={19} />}
// eslint-disable-next-line max-len
content="You seem to have several portrait photos—consider enabling photo matting to make images appear more consistent"
content="You seem to have several vertical photos—consider enabling matting to make portrait and landscape photos appear more consistent"
additionalContent={<>
Enabled photo matting by setting
<code className="text-main">`NEXT_PUBLIC_MATTE_PHOTOS = 1`</code>

View File

@ -19,7 +19,7 @@ export default function ScoreCardRow({
<div className="pt-[8px] shrink-0 text-main">
{icon}
</div>
<div className="grow space-y-2 py-1.5">
<div className="grow space-y-2 py-1.5 w-full overflow-auto">
<div className="text-main">
{content}
</div>