footer: only show keyboard shortcuts link on desktop.
This commit is contained in:
@@ -9,6 +9,10 @@
|
||||
}
|
||||
|
||||
@media screen and (max-width: 660px) {
|
||||
#keyboard-shortcuts-link {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#desktop-version-link {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
@@ -6,7 +6,9 @@
|
||||
– <%= link_to "Rules", terms_of_service_path %>
|
||||
– <%= link_to "Contact", contact_path %>
|
||||
<% if CurrentUser.user.enable_post_navigation %>
|
||||
– <%= link_to "Keyboard shortcuts available", keyboard_shortcuts_path %>
|
||||
<span id="keyboard-shortcuts-link">
|
||||
– <%= link_to "Keyboard shortcuts", keyboard_shortcuts_path %>
|
||||
</span>
|
||||
<% end %>
|
||||
<% if CurrentUser.is_member? %>
|
||||
<span id="desktop-version-link">
|
||||
|
||||
Reference in New Issue
Block a user