insightsengineering / insightsengineering/crane

theme_gtsummary_roche() leaves default left/right cell padding

Open Beginner friendly
#309 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.