icflorescu / icflorescu/mantine-datatable

Selection column with hardcoded padding

Open
#776 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.3k
Forks
102
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
The cells in the selection column are hard-coded padding.
And they do not match the padding of other cells.
Also, if I want to set a different horizontalSpacing, it will not apply to the cell with the checkbox (

Expected behavior
The checkbox cell, as before, has indents similar to other cells in the table.

Screenshots

Image

Contributor guide

Open the contributing guide

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 by locating the selection-column checkbox cell rendering and compare its padding with the other table cells. Check how horizontalSpacing is applied, then verify that changing it produces matching indents for the checkbox cell and that existing table behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.