Skip to content

Conversation

Dumluregn
Copy link
Contributor

Suggested merge commit message (convention)

Feature (fullscreen): Empty sidebars will no longer lock empty space around the editable in fullscreen mode. Closes #18474.


Additional information

So, the main changes are:

  • No longer prevent sidebars from shrinking (removed flex-shrink: 0).
  • To keep their fixed width, added min-width on the first child of each sidebar. So if they are empty, it won't be applied.
  • Sticky part of the left sidebar will only be created if there is a document outline or presence list.

Some styles were just moved around for better organization, unfortunately it creates a bit of fuzz in the PR, sorry.

@Dumluregn Dumluregn requested a review from DawidKossowski May 14, 2025 12:54
Copy link
Contributor

@DawidKossowski DawidKossowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one typo.

@Dumluregn Dumluregn requested a review from DawidKossowski May 14, 2025 14:16
@Dumluregn Dumluregn merged commit 9db81ae into master May 15, 2025
11 checks passed
@Dumluregn Dumluregn deleted the ck/18474-fullscreen-sidebars branch May 15, 2025 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Smarter handling of empty sidebars in fullscreen mode
2 participants