hamishgibbs / rt_vis

Interactive RT visualisation
3 stars 0 forks source link

Fix tooltip #65

Closed hamishgibbs closed 3 years ago

hamishgibbs commented 3 years ago

Changes formatting of map tooltip to remove large amounts of whitespace.

Rmd seems to double the number of </br> elements in a text chunk. Not sure why. This means that nicely spaced things in a normal HTML document come out very weird in Rmd.

I have added a : as a simple fix to make the tooltip look ok in both HTML and Rmd (Favouring the look in Rmd).

HTML: Screenshot 2020-10-20 at 08 55 32

Rmd: Screenshot 2020-10-20 at 08 55 20

Closes #64.

Also adds a quick way to run grunt, bump rt_vis version in RtD3, install new RtD3 version in makefile, and render Rmd doc as HTML.

make check

Will help with this type of issue where something looks fine in the dev environment and looks weird in Rmd.

hamishgibbs commented 3 years ago

WORK_DIR variable should be stored in .env file to give the parent directory of both rt_vis and RtD3 and let Makefile bumping & checking work smoothly.