vercel / vercel/hyper

can't remove right padding

Open
#8,094 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

.hyper.js:

...
padding: '0 0 0 0',
...

The left column of terminal content is fairly flush with the top and left edges. But the right side of the terminal continues to exhibit extra space even with the above settings.

Padding? Margin? Which CSS selector(s) are relevant there?

The extra space on the right side is roughly the width of a character.

When tiling Hyper with Rectangle back and forth, stretching it quickly from the top half of my MacBook Pro display to the right half, I see the padding briefly disappear (yay!) then just as quickly reappear (boo!). Perhaps some kind of dimension event logic is neglecting to respect the configured padding settings.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the .hyper.js padding setting, then trace the terminal UI's CSS selectors and resize or dimension handling mentioned in the report. Reproduce the issue by resizing Hyper between tiled positions on macOS and verify that the configured padding removes the right-side gap both initially and after resizing.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript, macos, typescript
Domain
desktop, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.