[haiku-bugs] Re: [Haiku] #15430: Layout issues (and more) of the Quick Tour

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 09 Jul 2020 16:07:06 -0000

#15430: Layout issues (and more) of the Quick Tour
----------------------------+----------------------------
  Reporter:  humdinger      |      Owner:  waddlesplash
      Type:  enhancement    |     Status:  assigned
  Priority:  normal         |  Milestone:  R1/beta3
 Component:  Documentation  |    Version:  R1/Development
Resolution:                 |   Keywords:
Blocked By:                 |   Blocking:
  Platform:  All            |
----------------------------+----------------------------
Comment (by madmax):

 If the tool is https://github.com/haiku/userguide-translator/, it would
 seem that translatable elements have to be declared in `translate_tags` in
 inc/config.php. The dots would require `html > body > div > div > span > a

acronym` there, and probably also `acronym > title` in
 `relaxed_parsing_attributes`. The "topics" text by the dots would need
 `html > body > div > div > span > a` in `translate_tags` (by the way, it
 points to a non-existent anchor, I'd say you want #index and not #topics),
 and "Quick Tour" by the logo (should it not be fixed text) `html > body >
 div > div > span`. Given that these are all parts of the same chain, I
 don't know if you'd have to use the most or least specific one, and
 whether the others would work. Also I don't know php and haven't set up a
 server to try to install and test the tool, so **I may be very wrong
 here**.

 If "precludes the top bar from being 'sticky.'" is not about the editing
 tool but the resulting page, I don't see anything sticky. You may want to
 change `div.nav` position to `sticky` instead of `relative`. You may even
 want to add sticky position to `div.topic h1` for long slides, but that's
 probably overkill, and it needs a background and a top value that leaves
 it below the nav bar.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15430#comment:10>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: