summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorWu Cheng-Han2016-09-18 17:05:07 +0800
committerWu Cheng-Han2016-09-18 17:05:07 +0800
commit748957dc9e1b7f2b6e62fb446b2985729b469da8 (patch)
tree41f1055ea3b8f0ad2caa260018f16e309249868b /public
parent93ec43c3dcb9a45992b525c8ac1bd292c60bd296 (diff)
Update help modal cheatsheet font styles to make it more clear on spaces
Diffstat (limited to 'public')
-rw-r--r--public/views/help-modal.ejs11
1 files changed, 9 insertions, 2 deletions
diff --git a/public/views/help-modal.ejs b/public/views/help-modal.ejs
index 3d119e8b..fd8bfbff 100644
--- a/public/views/help-modal.ejs
+++ b/public/views/help-modal.ejs
@@ -39,7 +39,7 @@
<h3 class="panel-title"><%= __('Cheatsheet') %></h3>
</div>
<div class="panel-body" style="height: calc(100vh - 215px); overflow: auto;">
- <table class="table table-condensed">
+ <table class="table table-condensed table-cheatsheet">
<thead>
<tr>
<th><%= __('Example') %></th>
@@ -137,4 +137,11 @@
</div>
</div>
</div>
-</div> \ No newline at end of file
+</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> \ No newline at end of file