Skip to content

Clarify CSS length inputs in layout docs#1324

Open
LeonidasZhak wants to merge 1 commit into
rstudio:mainfrom
LeonidasZhak:codex/clarify-layout-css-lengths
Open

Clarify CSS length inputs in layout docs#1324
LeonidasZhak wants to merge 1 commit into
rstudio:mainfrom
LeonidasZhak:codex/clarify-layout-css-lengths

Conversation

@LeonidasZhak

Copy link
Copy Markdown

Closes #1300.

This updates the layout_columns() and layout_column_wrap() documentation to avoid the confusing "CSS length unit" phrasing and gives concrete examples for accepted CSS length values, including numeric pixel values, unit-bearing strings, percentages, and calc() expressions.

Checks run locally:

  • Rscript -e "tools::checkRd("man/layout_columns.Rd"); tools::checkRd("man/layout_column_wrap.Rd")"
  • git diff --check
  • R CMD build --no-build-vignettes .

@CLAassistant

CLAassistant commented Jun 6, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@LeonidasZhak

Copy link
Copy Markdown
Author

CLA signed, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation: unclear what a "CSS length unit" is

2 participants