Skip to content

Minus Mode doesn't consider used space #85

@PlusInsta

Description

@PlusInsta

Describe the bug
When a user goes below the minimum Discord window size, a feature in /src/tweaks/compact.css colloquially called Minus Mode triggers, collapsing the Server List and Channel List to the side. This occurs even when the Member List, Search, Thread, etc. are not in view taking up space, therefore wasting the user's available space by collapsing when there is no need.

To Reproduce
Steps to reproduce the behavior:

  1. Reduce Discord window below minimum size by removing the constraints.
  2. Go to any server or DM.
  3. Close Member List.
  4. There is now an awkward amount of space available for no reason.

Expected behavior
The Minus Mode should only collapse if there is no more room to display vanilla Discord elements. This includes but is not limited to:

  • Controls (buttons, etc.)
  • Content (text, images, channel descriptions)

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here. (i.e. affected plugins, other enabled themes)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions