Skip to content

Commit

Permalink
Test for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
aih committed Feb 19, 2016
1 parent 3395d91 commit 6ed699a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions partials/query.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ <h3 class="panel-title">Results</h3>
<div ng-repeat="doc in queryResults.hits" style="margin-bottom:15px">
<div class="row" ng-click="doc.showDetails = !doc.showDetails" style="cursor:pointer;" >
<div class="col-xs-1 col-md-1" ng-style="doc.showDetails && {'background-color': '#31beb1'}" style="background-clip:content-box">p.{{doc._source['pagenumber']}}</div>
<div class="col-xs-6 col-sm-6 col-md-8" ng-bind-html="doc.highlight['text']"></div>
<div class="col-xs-6 col-sm-6 col-md-8" ng-bind-html="doc.highlight['text'].join('...')"></div>
</div>
<div class="row" ng-show="doc.showDetails">
Expand Down

0 comments on commit 6ed699a

Please sign in to comment.