Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minus Mode doesn't consider used space #85

Open
PlusInsta opened this issue Nov 23, 2024 · 0 comments
Open

Minus Mode doesn't consider used space #85

PlusInsta opened this issue Nov 23, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@PlusInsta
Copy link
Owner

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)

@PlusInsta PlusInsta self-assigned this Nov 23, 2024
@PlusInsta PlusInsta added the bug Something isn't working label Nov 23, 2024
@PlusInsta PlusInsta changed the title Minus Mode threshold in main view needs adjustment Minus Mode threshold doesn't account for actual available space in main view Nov 23, 2024
@PlusInsta PlusInsta changed the title Minus Mode threshold doesn't account for actual available space in main view Minus Mode threshold should be reduced when no chat panel is open Nov 23, 2024
@PlusInsta PlusInsta changed the title Minus Mode threshold should be reduced when no chat panel is open Reduce Minus Mode threshold when no chat panel is open Nov 23, 2024
@PlusInsta PlusInsta changed the title Reduce Minus Mode threshold when no chat panel is open Minus Mode doesn't consider used space Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant