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