Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs not clickable on mobile on certain themes #1371

Closed
scott opened this issue Jul 24, 2019 · 1 comment · Fixed by #1372

Comments

@scott
Copy link
Member

commented Jul 24, 2019

There is an issue just discovered that makes KB docs not clickable from the category listing under certain conditions:

  • Affects light, flat and nordic theme
  • Smallest media query (mobile view)
  • There are more than 25 docs in a category, which triggers the pagination

This seems to be caused by some unbalanced HTML in the category/show view.

@scott scott added the bug label Jul 24, 2019

@scott scott self-assigned this Jul 24, 2019

@scott

This comment has been minimized.

Copy link
Member Author

commented Jul 24, 2019

You can correct this by adding the following code snippet to your design > footer javascript setting. This will be fixed in the next official release.

<script>
$(document).ready(function(){
  if ($('#category-col').length > 0) {
    var $p = $(".pagination");
    $(".pagination").remove();
    $('#category-col').append($p);
  }
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.