insightsengineering / insightsengineering/crane
theme_gtsummary_roche() leaves default left/right cell padding
Open
Beginner friendly
- Dominant language
- R
- Stars
- 15
- Forks
- 7
- Avg merge
- 6d 9h
- Merged PRs (30d)
- 5
Description
`theme_gtsummary_roche()` zeros top and bottom cell padding for flextable output but leaves flextable's default 5pt left/right padding, adding ~0.19" of unused horizontal space to every column. Gridline-free clinical listings don't need it and it wastes width on dense landscape tables.
Contributor guide
Research direction
Start at the theme_gtsummary_roche() entry point and inspect how it configures flextable output. The work is done when the theme removes the default left and right cell padding as well as the existing top and bottom padding, without leaving the extra horizontal space in clinical listings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- design
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100