mrusme / superhighway84

USENET-inspired, uncensorable, decentralized internet discussion system running on IPFS & OrbitDB
https://xn--gckvb8fzb.com/superhighway84
GNU General Public License v3.0
694 stars 24 forks source link

Refactor main screen layout using nested grids #34

Closed mprimi closed 2 years ago

mprimi commented 2 years ago

Simplify the main layout by creating sub-grids in each row of the existing grid. This allows each row to have independent column layout.

Within each grid the placement is straighforward and can be more easily adjusted.

One visible change is that the main pane sizes are now relative, so they adjust based on the terminal width and height (whereas before they were fixed regardless of terminal size).

Small window

Before

before-small

After

after-small

Large window

Before

before-large

After

after-large