diff --git a/src/components-examples/material/slider/slider-configurable/slider-configurable-example.css b/src/components-examples/material/slider/slider-configurable/slider-configurable-example.css index ba363902eaae..d99a67b786cb 100644 --- a/src/components-examples/material/slider/slider-configurable/slider-configurable-example.css +++ b/src/components-examples/material/slider/slider-configurable/slider-configurable-example.css @@ -4,17 +4,22 @@ .example-section { display: flex; + flex-wrap: wrap; align-content: center; align-items: center; - height: 60px; } .example-margin { margin: 8px; } +.example-width { + max-width: 180px; + width: 100%; +} .mat-slider-horizontal { - width: 300px; + max-width: 300px; + width: 100%; } .mat-slider-vertical { diff --git a/src/components-examples/material/slider/slider-configurable/slider-configurable-example.html b/src/components-examples/material/slider/slider-configurable/slider-configurable-example.html index 4e55e6c868cd..9b5ca493b6d9 100644 --- a/src/components-examples/material/slider/slider-configurable/slider-configurable-example.html +++ b/src/components-examples/material/slider/slider-configurable/slider-configurable-example.html @@ -3,19 +3,19 @@

Slider configuration

- + Value - + Min value - + Max value - + Step size @@ -26,7 +26,7 @@

Slider configuration

Auto ticks - + Tick interval