Fix cursor/background vertical alignment in SVG screenshots
- Remove dominant-baseline: text-before-edge (has Safari compatibility issues) - Use separate y positions for rect (top of cell) and text (baseline) - rect_y = padding + row * line_height (top of cell) - text_y = rect_y + font_size (alphabetic baseline position) This ensures background rects and text are properly aligned across all browsers, fixing the half-line vertical offset on cursor blocks.
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
Reference in New Issue
Block a user