Commit c1a3895
RS-21330: Make label measurement div resilient to body CSS changes
Use position:fixed;width:max-content instead of display:inline-block
so the measurement div is unaffected by flex/grid parent layouts
(e.g. the new UI sets body to display:flex) and immune to global
width rules that could skew the measured label dimensions.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent c7b990e commit c1a3895
3 files changed
Lines changed: 3 additions & 3 deletions
File tree
- inst/htmlwidgets
- theSrc/scripts/utils
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments