Removes absolute positioning from Download and Source Select buttons.
We have tried this a few different ways and it just doesn't work when rendered in an Rmd because of the fixed ~900px width in the center of the page in Rmd. Means the absolute position buttons fix themselves to screen width - not width of the content area.
Hopefully fixes the issue of button positions overlapping other elements and closes #61.
Tested in R studio console viewer and Rmd and looks good to me. Will open an RtD3 PR to bump rt_vis version.
Now both the Download and Source Select buttons are held in their own div elements and their position is defined within those elements.
Removes absolute positioning from
Download
andSource Select
buttons.We have tried this a few different ways and it just doesn't work when rendered in an Rmd because of the fixed ~900px width in the center of the page in Rmd. Means the absolute position buttons fix themselves to screen width - not width of the content area.
Hopefully fixes the issue of button positions overlapping other elements and closes #61.
Tested in R studio console viewer and Rmd and looks good to me. Will open an RtD3 PR to bump rt_vis version.
Now both the
Download
andSource Select
buttons are held in their owndiv
elements and their position is defined within those elements.