epam / ketcher

Web-based molecule sketcher
https://lifescience.opensource.epam.com/ketcher/demo.html
Apache License 2.0
442 stars 159 forks source link

Macro: Numbers on top of letters are not centered #4475

Open Zhirnoff opened 2 months ago

Zhirnoff commented 2 months ago

Steps to Reproduce

  1. Switch to Macro mode
  2. Add any presets on canvas, bond them
  3. Switch to 'Sequence mode'

Actual behavior Numbers on top of letters are not centered

Expected behavior Numbers on top of letters are centered or aligned to the right edge of the number

Screenshots 2024-04-17_10h35_37 2024-04-17_10h37_27

Desktop (please complete the following information):

Ketcher version [Version 2.21.0-rc.1] Related ticket: https://github.com/epam/ketcher/issues/3876

Zhirnoff commented 2 months ago

Problem highlighted by @vanoprenko