nkprasad12 / morcus-net

Source code for Morcus Latin Tools.
https://morcus.net
GNU General Public License v3.0
6 stars 3 forks source link

Investigate useLayoutEffect to properly align labels with continuous text #305

Open nkprasad12 opened 9 months ago

nkprasad12 commented 9 months ago

The goal is to have e.g. in DBG each chapter as one block of text, with the sections going one after another.

We can potentially use useLayoutEffect to place the text first, and calculate the placement of the section labels afterwards.