Skip to content

Commit

Permalink
Use monospace font in query output log (getredash#3743)
Browse files Browse the repository at this point in the history
  • Loading branch information
otsaloma authored and harveyrendell committed Nov 14, 2019
1 parent a4c1ffc commit a34a074
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions client/app/assets/less/redash/query.less
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,12 @@ edit-in-place p.editable:hover {
}
}

.query-log-line {
font-family: monospace;
white-space: pre;
margin: 0;
}

.paginator-container {
text-align: center;
}
Expand Down
2 changes: 1 addition & 1 deletion client/app/pages/queries/query.html
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ <h3>
<div class="d-flex flex-column p-absolute static-position__mobile" style="left: 0; top: 0; right: 0; bottom: 0;">
<div class="p-10" ng-show="showLog">
<p>Log Information:</p>
<p ng-repeat="l in queryResult.getLog()">{{l}}</p>
<p class="query-log-line" ng-repeat="l in queryResult.getLog()">{{l}}</p>
</div>
<ul class="tab-nav">
<rd-tab ng-if="!query.visualizations.length" tab-id="table" name="Table" base-path="query.getUrl(sourceMode)"></rd-tab>
Expand Down

0 comments on commit a34a074

Please sign in to comment.