Skip to content

Search bar visually shifted due to uneven sidebar widthsΒ #5

@3w36zj6

Description

@3w36zj6

cf. typst-jp/docs#298 (review)

Besides, I notice that after removing <TranslationCoverageBadge>, the search bar seemed to lean to the right.

Image

The search bar is mathematically located at the center of the page, but <main> is slightly left aligned, causing this illusion.
In <BaseTemplate>, the width of the left side bar (<SideNavigation>) is lg:w-64, but that of the right side bar (<TableOfContents>) is lg:w-72. Therefore, <main> is not centered.

However, the misalignment is hardly noticeable, and I think it can be ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions