FHIR Chat · Help with menu.xml · IG creation

Stream: IG creation

Topic: Help with menu.xml


view this post on Zulip Saul Kravitz (Jul 17 2020 at 16:28):

How can I get the Examples menu item to align with the others?
https://github.com/saulakravitz/carin-bb/blob/master/fsh/ig-data/input/includes/menu.xml
See https://saulakravitz.github.io/carin-bb-publish/index.html

It looks like this:
image.png

view this post on Zulip Jose Costa Teixeira (Jul 17 2020 at 16:28):

that is not an alignment thing. That means that your examples link is broken

view this post on Zulip Saul Kravitz (Jul 17 2020 at 16:40):

Voila! it works... thx. Fairly subtle signal for debugging....a broken link is a stronger signal.

view this post on Zulip Lloyd McKenzie (Jul 17 2020 at 16:43):

It's just a CSS side effect. The broken link would have been reported in qa.html

view this post on Zulip Saul Kravitz (Jul 17 2020 at 17:58):

What about very wide spacing between menu items? Another subtle signal?
image.png
vs normal spacing:
image.png

view this post on Zulip Jose Costa Teixeira (Jul 17 2020 at 18:43):

if the spacing is double than it should, i.e. if there is a blank space, this means there is a missing link.

view this post on Zulip Jose Costa Teixeira (Jul 17 2020 at 18:44):

the menu is static and is something that people don't often mess with it unless they know what they are doing, so I expect it is a transient annoyance

view this post on Zulip Saul Kravitz (Jul 17 2020 at 21:02):

Both links under Use Cases are functional. I've found the spacing between menu items is very sensitive to the length of the strings for the menu i the only way the 'FHIR Artifacts' pull down looks ok is by padding the entries to the same length.

<a data-toggle="dropdown" href="#" class="dropdown-toggle">Use Cases<b class="caret"> </b></a>
<ul class="dropdown-menu">
<li><a href="Use_Case.html#terms-and-concepts">Terms and Concepts</a></li>
<li><a href= "Use_Case.html#use-cases">Use Cases </a></li>
</ul>


Last updated: Apr 12 2022 at 19:14 UTC