ruby/lib/rdoc/generator
James Reid-Smith f9dc41b6a9 [ruby/rdoc] Fix iPad Pro navigation not shown
(https://github.com/ruby/rdoc/pull/1236)

Found this issue when I was debugging the navigation toggle. I noticed
it first in the chrome dev tools, but it was also reproducible on
an iPad Pro.

Symptom:
- On iPad Pro, the navigation section is hidden but there's enough
  space to show it. Making the user have to click the hamburger
  button to show it but it's not necessary to hide the navigation
  section.
- On desktop, the navigation section is shown.
- On mobile, the navigation section is hidden until the hamburger
  button is clicked.

Fix:
- The javascript code was matching 1024px instead of 1023px. The media
  sections of the css was altering the layout on 1024px. So ipad got
  the full desktop layout but the navigation section was hidden.

1794e59755
2024-12-15 13:24:53 +00:00
..
pot [ruby/rdoc] Improve rubocop setup 2024-07-17 20:43:08 +00:00
template [ruby/rdoc] Fix iPad Pro navigation not shown 2024-12-15 13:24:53 +00:00
darkfish.rb [ruby/rdoc] Extract excerpt from raw pages correctly 2024-11-18 10:32:31 +00:00
json_index.rb [ruby/rdoc] Use flat_map for better performance 2023-06-14 23:47:25 +00:00
markup.rb [ruby/rdoc] Auto-correct trailing new lines 2023-06-03 01:42:29 +00:00
pot.rb [ruby/rdoc] [DOC] nodoc for probably internal methods 2023-12-16 00:26:39 +09:00
ri.rb [ruby/rdoc] Auto-correct trailing new lines 2023-06-03 01:42:29 +00:00