Skip to content

Fix wiki sidebar positioning and improve content readability

What does this MR do and why?

Fixes wiki sidebar positioning to always display on the left side of the screen and centers content for improved readability, regardless of user's fluid/fixed layout preference.

Changes

  • Fixed sidebar positioning: Sidebar now stays pinned to the left side of the screen at all times
  • Centered content container: Wiki content is centered with equal spacing on left and right sides
  • Layout-independent: Works consistently regardless of user's fluid or fixed layout preference setting, improving readability for all users
  • Top-aligned page actions: Buttons (Edit, notifications, menu) now align to the top when page titles wrap to multiple lines (removing this change from this MR context here: !210851 (comment 2855888192)
  • Removed sidebar animation: Eliminated motion-reduce transition from sidebar-container for cleaner performance

Screenshots or screen recordings

Before After
CleanShot 2025-10-30 at 20.56.17@2x.png CleanShot 2025-10-30 at 20.57.37@2x.png

Dependencies

!210498 (closed)+

Issues related to this MR

https://gitlab.com/gitlab-org/gitlab/-/issues/572178+

Wiki sidebar lacks visual separation from conte... (#578646 - closed)

Edited by Alex Fracazo

Merge request reports

Loading