Merge pull request #4249 from ahocevar/tap-example

Make whole example box clickable
This commit is contained in:
Andreas Hocevar
2015-10-12 11:04:17 +02:00

View File

@@ -18,6 +18,7 @@
color: #333;
}
.example {
display: block;
padding: 10px;
background-color: #F5F5F5;
height: 140px;
@@ -198,13 +199,13 @@
<div style="display: none;">
<div id="template" class="row">
<div class="col-md-4 col-sm-4" jugl:repeat="example examples">
<div class="example">
<a jugl:attributes="href example.link" class="mainlink">
<a jugl:attributes="href example.link" class="example">
<span class="mainlink">
<strong><span jugl:replace="example.title">title</span></strong><br>
<small jugl:content="'(' + example.example + ')'"></small>
</a>
</span>
<p class="description" jugl:content="example.shortdesc"></p>
</div>
</a>
</div>
</div>
</div>