feat(InfoCard): new "narrow" variant - #724
Conversation
|
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
Commits
|
|
❌ Test ResultsStatus: Some tests failed! 🔍 Click to view failed testsTest Coverage ReportOverall Coverage Summary
Coverage by File/Directory
Coverage report generated at 2026-08-12T07:00:35.191Z |
davids-ensemble
left a comment
There was a problem hiding this comment.
While this is not a problem for screen readers since the content of the description is fully available in the DOM, it is a problem for sighted user as they have no way to see the entire description for a card.
Was this something that was accepted as a compromise when the requirement came in or is it something that we didn't think of?
@davids-ensemble We've restricted this option so that if the product team provides it, it won't be displayed in the Mini Resource Card, Info Card, Summary Block, etc. We had already mentioned this restriction across all the blocks so I think we will leave
|



Description
The Info Card needs to be narrower and more compact. In EDS, it currently takes up too much space on the page, so we need to reduce its width.
I've added a new variant
narrowto the Info Card in DevBiz to achieve the required width.Jira
https://jira.corp.adobe.com/browse/DEVSITE-2517
Test URL
Before : https://main--adp-devsite-stage--adobedocs.aem.page/test/petheanraj/infocard-reduce-width

After : https://devsite-2517--adp-devsite-stage--adobedocs.aem.page/test/petheanraj/infocard-reduce-width
