diff --git a/static/styles/zulip.css b/static/styles/zulip.css
index d9535c3b87..5409288971 100644
--- a/static/styles/zulip.css
+++ b/static/styles/zulip.css
@@ -2105,10 +2105,15 @@ div.floating_recipient {
}
.hotkeys_table {
- float: left;
width: 245px;
margin-right: 10px;
font-size: 90%;
+ display: inline-block;
+ vertical-align: top;
+}
+
+.hotkeys_table th {
+ width: 245px;
}
.hotkeys_table .hotkey {
diff --git a/templates/zerver/keyboard_shortcuts.html b/templates/zerver/keyboard_shortcuts.html
index c821eb7314..ed7afd0f64 100644
--- a/templates/zerver/keyboard_shortcuts.html
+++ b/templates/zerver/keyboard_shortcuts.html
@@ -5,117 +5,121 @@
Keyboard shortcuts
-
-
+
+
+
+
+ Navigation |
+
+
- Navigation |
+ / |
+ Initiate a search |
-
-
- / |
- Initiate a search |
-
-
- q |
- Search people |
-
-
- Up or k |
- Previous message |
-
-
- Down or j |
- Next message |
-
-
- PgUp, K |
- Scroll up |
-
-
- PgDn, J, Spacebar |
- Scroll down |
-
-
- End |
- Last message |
-
-
+
+ q |
+ Search people |
+
+
+ Up or k |
+ Previous message |
+
+
+ Down or j |
+ Next message |
+
+
+ PgUp, K |
+ Scroll up |
+
+
+ PgDn, J, Spacebar |
+ Scroll down |
+
+
+ End |
+ Last message |
+
+
-
-
+
+
+
+ Composing messages |
+
+
- Composing messages |
+ Enter or r |
+ Reply to message |
-
-
- Enter or r |
- Reply to message |
-
-
- R |
- Reply to author |
-
-
- c |
- New stream message |
-
-
- C |
- New private message |
-
-
- Tab then Enter |
- Send message |
-
-
- Esc |
- Cancel compose |
-
-
+
+ R |
+ Reply to author |
+
+
+ c |
+ New stream message |
+
+
+ C |
+ New private message |
+
+
+ Tab then Enter |
+ Send message |
+
+
+ Esc |
+ Cancel compose |
+
+
+
-
-
+
+
+
+
+ Narrowing |
+
+
- Narrowing |
+ s |
+ Narrow by stream |
-
-
- s |
- Narrow by stream |
-
-
- S |
- Narrow by topic |
+
+ S |
+ Narrow by topic |
+
+
+ v |
+ Narrow to all private messages |
-
- v |
- Narrow to all private messages |
-
-
- Esc |
- Return to home view |
-
-
+
+ Esc |
+ Return to home view |
+
+
-
-
+
+
+
+ Menus |
+
+
- Menus |
+ i |
+ Open message actions menu |
-
-
- i |
- Open message actions menu |
-
-
- i then Enter |
- Edit a message you sent |
-
-
- ? |
- Show these keyboard shortcuts |
-
-
+
+ i then Enter |
+ Edit a message you sent |
+
+
+ ? |
+ Show these keyboard shortcuts |
+
+
+