Skip to content

Comments

fix: column-margin with renderings option (#13825)#13903

Merged
gordonwoodhull merged 3 commits intomainfrom
fix/13825-column-margin-renderings
Feb 18, 2026
Merged

fix: column-margin with renderings option (#13825)#13903
gordonwoodhull merged 3 commits intomainfrom
fix/13825-column-margin-renderings

Conversation

@gordonwoodhull
Copy link
Contributor

Summary

Test plan

  • Added smoke test tests/docs/smoke-all/dark-mode/renderings-column-margin.qmd that verifies the fix
  • Test passes locally with ./run-fast-tests.sh docs/smoke-all/dark-mode/renderings-column-margin.qmd

🤖 Generated with Claude Code

@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Jan 16, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@gordonwoodhull gordonwoodhull marked this pull request as draft January 16, 2026 19:38
@gordonwoodhull gordonwoodhull marked this pull request as ready for review January 16, 2026 19:48
@gordonwoodhull
Copy link
Contributor Author

gordonwoodhull commented Jan 16, 2026

Confirmed visually - no spatial HTML tests yet!

This is one of those cases where the dark mode table is annoyingly about 2px lower. It doesn't always happen but it makes me think the light mode div is taking up a tiny amount of space.

(Claude found that our SCSS to do with interior padding between items needed to be adjusted to deal with display:none and .light-content / .dark-content, so this also contains a fix for that. There may be other places where we need to fix this.)

@gordonwoodhull gordonwoodhull force-pushed the fix/13825-column-margin-renderings branch from d341224 to 9925b6e Compare February 2, 2026 18:35
@cscheid cscheid added this to the v1.9 milestone Feb 17, 2026
@gordonwoodhull gordonwoodhull force-pushed the fix/13825-column-margin-renderings branch 2 times, most recently from c417d1a to 83e6f35 Compare February 17, 2026 20:44
gordonwoodhull and others added 3 commits February 17, 2026 16:58
Preserve existing classes on cell-output-display divs when applying
light/dark theme classes in the cell-renderings filter. Previously,
new divs were created that discarded existing classes like column-margin.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@gordonwoodhull gordonwoodhull force-pushed the fix/13825-column-margin-renderings branch from 83e6f35 to 31a3807 Compare February 17, 2026 21:58
@gordonwoodhull gordonwoodhull merged commit fbe6aa6 into main Feb 18, 2026
92 of 93 checks passed
@gordonwoodhull gordonwoodhull deleted the fix/13825-column-margin-renderings branch February 18, 2026 02:06
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.

In cell column: margin doesn't work with renderings: [light, dark]?

3 participants