Enables the visitor to easily click anywhere on the summary (even between lines) rather than having to click exactly on the text. Close #1751
@@ -26,8 +26,7 @@
}
/* In page listings, display the linked summaries as normal text except for the hover cursor. */
-.media.stream-item .article-style a,
-.card-simple .article-style a {
+a.summary-link {
color: unset;
text-decoration: none;
@@ -54,11 +54,11 @@
</h3>
{{ with $summary }}
- <div class="article-style">
- <a href="{{ $item.RelPermalink }}">
+ <a href="{{ $item.RelPermalink }}" class="summary-link">
+ <div class="article-style">
<p>{{.}}</p>
- </a>
- </div>
+ </div>
+ </a>
{{ end }}
{{ if $show_buttons }}
@@ -38,11 +38,11 @@
<div class="article-style">
- {{ . }}
+ {{.}}
</div>
<div class="stream-meta article-metadata">