Browse Source

Add image dimensions.

pull/333/head
XhmikosR 11 years ago
parent
commit
2974522428
  1. 1
      docs/assets/css/docs.css
  2. 6
      docs/examples.html
  3. 6
      docs/examples/app-movies/index.html
  4. 1
      sass/docs.scss

1
docs/assets/css/docs.css

@ -413,6 +413,7 @@ body {
.docs-example-group .example-wrap img { .docs-example-group .example-wrap img {
display: block; display: block;
width: 100%; width: 100%;
height: auto;
} }
code { code {

6
docs/examples.html

@ -26,19 +26,19 @@ title: Examples · Ratchet
<div class="docs-example-group"> <div class="docs-example-group">
<div class="example-wrap"> <div class="example-wrap">
<a class="example" href="../examples/app-movies" data-ignore="push"> <a class="example" href="../examples/app-movies" data-ignore="push">
<img src="../assets/img/example.png" alt="Movie finder app example"> <img src="../assets/img/example.png" alt="Movie finder app example" width="640" height="480">
</a> </a>
<h5>Movie finder</h5> <h5>Movie finder</h5>
</div> </div>
<div class="example-wrap"> <div class="example-wrap">
<a class="example" href="../examples/app-ios-mail" data-ignore="push"> <a class="example" href="../examples/app-ios-mail" data-ignore="push">
<img src="../assets/img/example-ios.png" alt="iOS mail app example"> <img src="../assets/img/example-ios.png" alt="iOS mail app example" width="640" height="480">
</a> </a>
<h5>iOS mail app</h5> <h5>iOS mail app</h5>
</div> </div>
<div class="example-wrap"> <div class="example-wrap">
<a class="example" href="../examples/app-android-notes" data-ignore="push"> <a class="example" href="../examples/app-android-notes" data-ignore="push">
<img src="../assets/img/example-android.png" alt="Android notes app example"> <img src="../assets/img/example-android.png" alt="Android notes app example" width="640" height="480">
</a> </a>
<h5>Android notes app</h5> <h5>Android notes app</h5>
</div> </div>

6
docs/examples/app-movies/index.html

@ -28,13 +28,13 @@
<div class="slider"> <div class="slider">
<div class="slide-group"> <div class="slide-group">
<div class="slide"> <div class="slide">
<img src="img/argo.png" alt="Argo"> <img src="img/argo.png" alt="Argo" width="640" height="300">
</div> </div>
<div class="slide"> <div class="slide">
<img src="img/skyfall.png" alt="Skyfall"> <img src="img/skyfall.png" alt="Skyfall" width="640" height="300">
</div> </div>
<div class="slide"> <div class="slide">
<img src="img/ralph.png" alt="Wreck-It Ralph"> <img src="img/ralph.png" alt="Wreck-It Ralph" width="640" height="300">
</div> </div>
</div> </div>
</div> </div>

1
sass/docs.scss

@ -409,6 +409,7 @@ body {
img { img {
display: block; display: block;
width: 100%; width: 100%;
height: auto;
} }
} }
} }

Loading…
Cancel
Save