Last Update: Sept 08, 2022

Platform: Web & Mobile

Designer: Junjie Piao

Intro

Flexible Column Layout allows content to adapt to varied sizes and number of columns to utilize available real estate efficiently

Screen size 1440px COMPACT = Web Desktop.png

Screen size 1440px COMPACT = Web

Screen size 420px COZY = Web Mobile.png

Screen size 420px COZY = Web Mobile

Usage

As viewport grows, we need to account for how content changes.

If a user is looking at a larger screen, we have the ability to show them more content, or ‘enlarge’ our elements for added readability.

Responsive elements allow for balanced negative space and a less static-feeling experience.

Structure & Components

Behavior & Interaction

We use the same numbers as standard Fiori defined for all screen width variations

It is developed based on minimum width a card should support. Min-width of a card(288px) is deducted based on minimum screen width 320px (iPhone SE) minus margins on both sides, which is 16px.

Logic used to define break points is, card width should adapt to screen width while respecting Fiori defined margin and gutter. As screen width grows, an additional column of card is added when there is enough space(288px, min card width)

Full spec is in Figma for now due to Embed function not working:

https://www.figma.com/file/Hqh91BI6D43Ie4pVBBvrHN/?node-id=9587%3A76424

Video recording of walk through

Responsiveness & Adaptiveness

Application specific examples

We used the Flexible Column Layout on the SF homepage

Compact.png

Code Components

https://github.wdf.sap.corp/pages/xweb/common-react/?path=/story/components-cardgrid--card-grid

Specs

Full spec is in Figma for now due to Embed function not working:

https://www.figma.com/file/Hqh91BI6D43Ie4pVBBvrHN/?node-id=9587%3A76424

ENG Spec b2211 Homepage

https://www.figma.com/file/olxugsVZaGi2GAqdCO2Ehu/b2211-Homepage?node-id=5707%3A375305

https://github.wdf.sap.corp/pages/xweb/common-react/?path=/story/components-cardgrid--card-grid