Skip to content

Commit

Permalink
Widen lazy load event example container
Browse files Browse the repository at this point in the history
  • Loading branch information
NickPiscitelli committed Nov 11, 2018
1 parent df0a531 commit 670172f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3940,6 +3940,9 @@ input, select, textarea {
max-width: 600px;
margin: 0 auto 25px auto;
}
#main pre.wide {
max-width: 750px;
}
header.major h2:after {
margin-top: .2em;
}
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ <h2>Events</h2>
event data is passed via the event, located at <code class="slim">event.detail</code>
</p>

<pre class="language-javascript">
<pre class="wide language-javascript">
<code class="language-javascript">
// example event hook implementing basic lazy loading images
// appropriate image CSS (opacity/transform) must be set to work
Expand Down

0 comments on commit 670172f

Please sign in to comment.