Merge pull request #4249 from ahocevar/tap-example
Make whole example box clickable
This commit is contained in:
+5
-4
@@ -18,6 +18,7 @@
|
|||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
.example {
|
.example {
|
||||||
|
display: block;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
background-color: #F5F5F5;
|
background-color: #F5F5F5;
|
||||||
height: 140px;
|
height: 140px;
|
||||||
@@ -198,13 +199,13 @@
|
|||||||
<div style="display: none;">
|
<div style="display: none;">
|
||||||
<div id="template" class="row">
|
<div id="template" class="row">
|
||||||
<div class="col-md-4 col-sm-4" jugl:repeat="example examples">
|
<div class="col-md-4 col-sm-4" jugl:repeat="example examples">
|
||||||
<div class="example">
|
<a jugl:attributes="href example.link" class="example">
|
||||||
<a jugl:attributes="href example.link" class="mainlink">
|
<span class="mainlink">
|
||||||
<strong><span jugl:replace="example.title">title</span></strong><br>
|
<strong><span jugl:replace="example.title">title</span></strong><br>
|
||||||
<small jugl:content="'(' + example.example + ')'"></small>
|
<small jugl:content="'(' + example.example + ')'"></small>
|
||||||
</a>
|
</span>
|
||||||
<p class="description" jugl:content="example.shortdesc"></p>
|
<p class="description" jugl:content="example.shortdesc"></p>
|
||||||
</div>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user