Closed msagolj closed 5 years ago
To be able to use the layouting features of AEM editors, a grid.less is required which generates the css classes required.
a minimal grid.less file would be:
@import (once) "/libs/wcm/foundation/clientlibs/grid/grid_base.less"; /* maximum amount of grid cells to be provided */ @max_col: 12; /* default breakpoint */ .aem-Grid { .generate-grid(default, @max_col); } /* phone breakpoint */ @media (max-width: 650px) { .aem-Grid { .generate-grid(phone, @max_col); } } /* tablet breakpoint */ @media (min-width: 651px) and (max-width: 1200px) { .aem-Grid { .generate-grid(tablet, @max_col); } }
(CQ-4258746)
To be able to use the layouting features of AEM editors, a grid.less is required which generates the css classes required.
a minimal grid.less file would be: