Hello Holroy,
first of all I would like to thank you for trying all these options and doing such an intensive research. I really appreciate it!
I’ll do some more research and see if I can find anything else that can help me. Otherwise I will look for another way to display the infobox that does not disappear when scrolling.
And I would like to thank you once again for your effort!
The CSS code of the element is as follows:
.callout.callout:is([data-callout-metadata~="p+r"], [data-callout-metadata~=right]) {
float: right;
margin: unset;
margin-left: 8px;
}