google / google/model-viewer

FAQ page not readable

Open
#5,009 1 comment 4 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
8.2k
Forks
947
PR merge metrics
No merged PRs in 30d

Description

The UI of the FAQ site is not readable due to bad UI.

Main content has merign-left set to `--sidebar-width: 315px` but sidebar itself does not have width or max-width set. Its content then forces it to be wider (over 400px in my case) and covers part of the main content.

Better solution would be maybe use flex / grid for pure css or implement resize observer and update the `--sidebar-width` with actual sidebar width.

![Image](https://github.com/user-attachments/assets/8328d8f8-1062-4a3d-9e03-675374c3795f)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.