diff --git a/src-docs/src/components/guide_components.scss b/src-docs/src/components/guide_components.scss index 79b7c46aeb..5782b15355 100644 --- a/src-docs/src/components/guide_components.scss +++ b/src-docs/src/components/guide_components.scss @@ -344,22 +344,20 @@ body { } } -.guideHomePage__blockformCard { - min-width: 200px; - flex-basis: 100% !important; - - // sass-lint:disable-block mixins-before-declarations - @include ouiBreakpoint('s', 'm') { - flex-basis: 45% !important; // sass-lint:disable-line no-important - } +.guideHomePage__benefitsContainer, +.guideHomePage__featuredComponents { + display: grid; + gap: $ouiSizeL; // sass-lint:disable-line no-misspelled-properties + padding-left: $ouiSizeL; + padding-right: $ouiSizeL; +} - @include ouiBreakpoint('l') { - flex-basis: 30% !important; // sass-lint:disable-line no-important - } +.guideHomePage__benefitsContainer { + grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); +} - @include ouiBreakpoint('xl') { - flex-basis: 22% !important; // sass-lint:disable-line no-important - } +.guideHomePage__featuredComponents { + grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } .guideHomePage__illustration { diff --git a/src-docs/src/views/home/home_view.js b/src-docs/src/views/home/home_view.js index fa86cfe2d0..9735647dbb 100644 --- a/src-docs/src/views/home/home_view.js +++ b/src-docs/src/views/home/home_view.js @@ -29,7 +29,6 @@ import { OuiTitle, OuiPanel, OuiIcon, - OuiFlexGrid, OuiPageContent, OuiPageContentBody, } from '../../../../src/components'; @@ -85,127 +84,101 @@ export const HomeView = () => ( - - - - } - layout="horizontal" - display="plain" - titleSize="xs" - title="Accessible to everyone" - description="Uses high contrast, color-blind safe palettes and tested with most + +
+ } + layout="horizontal" + display="plain" + titleSize="xs" + title="Accessible to everyone" + description="Uses high contrast, color-blind safe palettes and tested with most assistive technology." - /> - - - } - layout="horizontal" - display="plain" - titleSize="xs" - title="Flexible and composable" - description="Configurable enough to meet the needs of a wide array of contexts while maintaining brand and low-level consistency." - /> - - - } - layout="horizontal" - display="plain" - titleSize="xs" - title="Well documented and tested" - description="Code is friendly to the novice and expert alike." - /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + /> + } + layout="horizontal" + display="plain" + titleSize="xs" + title="Flexible and composable" + description="Configurable enough to meet the needs of a wide array of contexts while maintaining brand and low-level consistency." + /> + } + layout="horizontal" + display="plain" + titleSize="xs" + title="Well documented and tested" + description="Code is friendly to the novice and expert alike." + /> +
+ +
+ + + + + + + + +