Responsive Spacing System

Intro

The responsive spacing system uses responsive padding and margin style sheet classes to control and optimize padding between elements that are common to all SAP Fiori interfaces.

Responsive Padding and Margin Classes

Responsive padding and margin classes control:

These classes adapt to different screen sizes at specific breakpoints to ensure that no space is wasted on small screens and that content has more room to breathe on large screens:

The visual below illustrates how the padding adapts to different screen sizes.

Spacing adapts to different screen sizes

Spacing adapts to different screen sizes

The spacing system is built into SAP Fiori Elements, but it must be implemented manually in freestyle SAP Quartz-themed applications using the responsive margin and padding classes in SAPUI5. You can use individual spacing and padding classes to apply individual spacing inside or around controls.

More Information

Resources

Elements and Controls

Implementation

Visual Design

[internal_only][/internal_only]