Skip to content

Commit 31533e6

Browse files
author
Mike Taylor
committed
Issue #449 - Add a visual hint for the 'g' => GitHub shortcut.
1 parent 8d64469 commit 31533e6

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

webcompat/static/css/development/layout/utilities.css

+9
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44
font-weight: 700;
55
}
66

7+
.wc-keyhint {
8+
background-color: var(--wc-variant-background-dark);
9+
border-radius: .3em;
10+
color: #fff;
11+
display: inline-block;
12+
padding: 0.2em 0.5em;
13+
vertical-align: middle;
14+
}
15+
716
/*---------- Utilities Position ----------*/
817

918
.wc-pos-absolute {

webcompat/templates/issue-list.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,11 @@ <h1 class="IssueList-title wc-Title--l">Issues</h1>
104104
</ul>
105105
</div>
106106
<% } %>
107+
<p class="wc-float-right wc-margin-bottom"><span class="wc-keyhint">g</span> takes you to the GitHub view of this page.</p>
107108
</script>
108109
</div>
109110
</div>
110-
</main>
111+
</main>
111112
</div>
112113

113114
<script type="text/template" id="dropdown-tmpl">

0 commit comments

Comments
 (0)