flybywiresim / docs

https://docs.flybywiresim.com/
36 stars 76 forks source link

fix(pfd-briefing): alternative solution to content tabs #932

Closed Valastiri closed 9 months ago

Valastiri commented 9 months ago

Summary

As indicated in our docs channel content tabs were not working due to a limitation of the theme.

We could either pull it apart and customize it or just change our implementation.

Suggested in PR is using the new card grid feature to split the elements into two groups. Removing the TOC also helps spread out the page and layout. Additional options are welcome.

We've gotten rid of the below and transitioned this into bullet points instead. Just to keep this page relatively simple as it's the only content on the page.

Option 1:
<img width="1407" alt="image" src="https://github.com/flybywiresim/docs/assets/1619968/2508b618-b569-47a0-b31c-ae5f790c181b">

Option 2: instead of `card grids` is just two simple admonitions:
<img width="1584" alt="image" src="https://github.com/flybywiresim/docs/assets/1619968/49fe7b85-b96a-4522-baea-0603dd5f3135">

Location

Discord username (if different from GitHub): valastiri

vercel[bot] commented 9 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 19, 2024 5:57pm