glanceapp / glanceapp/glance

Split columns with different widths

Open
#794 3 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
Go
Stars
37.1k
Forks
1.5k
Avg merge
1h 11m
Merged PRs (30d)
1

Description

### Description

Currently the `split-column` capability is great but the fact that every columns is 50% makes it for a very rigid structure. I'd appreciate if we could specify the width for each column, for example:

```
- type: split-column
max-columns: 2
widgets:
- type: rss
width: 30%
....
- type: rss
width: 70%
...
```

Alternatively, a more readable taxonomy could also be defined (but harder to implement?): `one-third, two-thirds, ...`

I have tried applying custom CSS but the output not correct, as the 50% width is fixed at an upper level

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the split-column capability and the code that fixes each column at 50% width. Determine how width values or the proposed one-third/two-thirds taxonomy should be represented in the configuration, then verify that split-column layouts honor the configured proportions.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.