Skip to content

[feat]: Better support for smaller screens and laptops #668

@rabanspiegel

Description

@rabanspiegel

Feature Summary

Make the app more usable on smaller laptop screens (13" MacBooks, etc.) by reducing minimum window size constraints and improving layout flexibility.

Problem or Use Case

Right now the window has a hard minWidth: 1200px and minHeight: 800px (in src/main/app/window.ts). On a 13" laptop or when trying to use emdash alongside other apps, this can be pretty annoying - you basically can't make the window any smaller and it takes up a ton of screen real estate.

The sidebar, terminal pane, and various panels also have fixed widths that don't scale down well.

Proposed Solution

  • Lower the minimum window size (maybe 900x600 or so?)
  • Make panel widths more responsive - sidebar could collapse to icons, terminal pane could be collapsible (related: [feat]: Allow terminal panel to be closed or collapsed #529)
  • Consider a "compact mode" for power users on small screens
  • Review hardcoded px values in components for better relative sizing

Alternatives Considered

  • Using the app on an external monitor (not always practical)
  • Hiding panels manually (tedious and current layout doesn't support this well)

Additional Context

Related layout issues that could be addressed together:

Some components have hardcoded widths that might need attention when making things more responsive (various w-[Xpx], min-w-[Xpx] patterns throughout the codebase).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions