Commit e474d2b
fix: Prevent render counters from departing to top-right corner
Fixes #1006
Problem:
In the subscriptions example, the render counter overlays drift to the
top-right corner of the window instead of staying positioned relative
to their respective forms.
Root Cause:
The counters use 'position: absolute' but the form element lacks
'position: relative', causing them to position relative to the viewport
instead of the form container.
Solution:
Added 'position: relative' to the form element in Styles.js. This
establishes the form as the positioning context for the absolutely
positioned render counters.
Changes:
- examples/subscriptions/Styles.js:
- Added 'position: relative' to form CSS rule (line 56)
Impact:
✅ Render counters stay anchored to their forms
✅ Visual layout matches intended design
✅ No functional changes
✅ Example-only change, no library code affected
Originally reported by @chervyakovru in PR #1006 (closed as stale).
Co-authored-by: Daniil Chervyakov <chervyakovru@users.noreply.github.com>1 parent 5509a15 commit e474d2b
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
0 commit comments