asam-ev / asam-project-guide

(WIP!) Project Guide for ASAM OpenX standards
Mozilla Public License 2.0
2 stars 0 forks source link

Content feedback: Width of doc at fullscreen not always at max #63

Open 9h03n1x opened 2 years ago

9h03n1x commented 2 years ago

Prerequisites

This is in regards to:

Subject

The width of the introduction start page is A4

URL https://asam-ev.github.io/asam-project-guide/asamprojectguide/getting-started/main.html
Page Introduction
Module getting-started
philipwindecker commented 2 years ago

The most likely cause is in the css file: It seems that the way the width is determined right now is by the body content width, not the screen width. This leads to the behavior that in the case of little content or very short sentences, the page width is not full-screen and, therefore, the toc on the right starts earlier.

philipwindecker commented 2 years ago

The description above seems to be the cause: if the content of the element "doc" is not enough to push it to full screen, the width is not set to its max possible value. Instead, it stops at the minimum required width to set the content (or the minimum set for doc, whichever is larger).

Question: Is this an important fix or can we leave it as is?