Make hint card area non-clickable.

This commit is contained in:
Paulo Reis 2016-06-24 12:12:45 +01:00
parent e4a1443d1d
commit 5f7ffb5a8c
2 changed files with 5 additions and 1 deletions

View file

@ -106,7 +106,10 @@ div.full-size.pdf(ng-controller="PdfController")
span(ng-show="entry.file") {{ entry.file }} span(ng-show="entry.file") {{ entry.file }}
span(ng-show="entry.line") , line {{ entry.line }} span(ng-show="entry.line") , line {{ entry.line }}
p.entry-message(ng-show="entry.message") {{ entry.message }} p.entry-message(ng-show="entry.message") {{ entry.message }}
.card.card-hint(ng-if="entry.humanReadableHint") .card.card-hint(
ng-if="entry.humanReadableHint"
stop-propagation="click"
)
figure.card-hint-icon-container figure.card-hint-icon-container
i.fa.fa-lightbulb-o(aria-hidden="true") i.fa.fa-lightbulb-o(aria-hidden="true")
p.card-hint-text(ng-show="entry.humanReadableHint", ng-bind-html="entry.humanReadableHint") p.card-hint-text(ng-show="entry.humanReadableHint", ng-bind-html="entry.humanReadableHint")

View file

@ -181,6 +181,7 @@
.card-hint:extend(.card-thin) { .card-hint:extend(.card-thin) {
margin-top: 10px; margin-top: 10px;
cursor: default;
&-icon-container { &-icon-container {
background: currentColor; background: currentColor;