diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 21fc5eb..3928ec3 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -551,21 +551,10 @@ body { } .docs-examples { - margin-top: 50px; - margin-bottom: 50px; -} - -.docs-example-group { margin-top: 30px; } -.docs-example-group .example-wrap { - display: inline-block; - margin-right: 10px; -} -.docs-example-group .example-wrap:last-child { - margin-right: 10px; -} -.docs-example-group .example-wrap .example { + +.example-wrap .example { display: block; overflow: hidden; padding: 3px; @@ -573,26 +562,18 @@ body { border: 1px solid #dddddd; border-radius: 3px; } -.docs-example-group .example-wrap h5 { +.example-wrap h5 { margin-top: 10px; } -.docs-example-group .example-wrap img { +.example-wrap img { display: block; width: 100%; height: auto; } @media screen and (min-width: 768px) { - .docs-example-group .example-wrap { - display: inline-block; - } - .docs-example-group .example-wrap .example { - width: 180px; - } -} -@media screen and (min-width: 1200px) { - .docs-example-group .example-wrap .example { - width: 220px; + .example-wrap .example { + width: 100%; } } code { diff --git a/docs/examples.html b/docs/examples.html index e6ce190..6a95e3a 100644 --- a/docs/examples.html +++ b/docs/examples.html @@ -24,25 +24,31 @@ title: Examples · Ratchet
Checkout out the examples on a desktop browser or visit on your mobile device see the apps as intended.
-