Update help modal cheatsheet font styles to make it more clear on spaces

This commit is contained in:
Wu Cheng-Han 2016-09-18 17:05:07 +08:00
parent 93ec43c3dc
commit 748957dc9e

View file

@ -39,7 +39,7 @@
<h3 class="panel-title"><%= __('Cheatsheet') %></h3> <h3 class="panel-title"><%= __('Cheatsheet') %></h3>
</div> </div>
<div class="panel-body" style="height: calc(100vh - 215px); overflow: auto;"> <div class="panel-body" style="height: calc(100vh - 215px); overflow: auto;">
<table class="table table-condensed"> <table class="table table-condensed table-cheatsheet">
<thead> <thead>
<tr> <tr>
<th><%= __('Example') %></th> <th><%= __('Example') %></th>
@ -137,4 +137,11 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<style>
table.table-cheatsheet tr > td:nth-child(2) {
font-family: "Source Code Pro", Consolas, monaco, monospace;
letter-spacing: 0.025em;
line-height: 1.25;
}
</style>