eldy / AWStats

AWStats Log Analyzer project (official sources)
https://www.awstats.org
369 stars 120 forks source link

Tooltips not visible when scrolling the page #109

Open r0max opened 5 years ago

r0max commented 5 years ago

Per default, the tooltips are shown on the top right of the page when hovering over a column with a tooltip enabled. When the page gets scrolled vertically, the tooltip is also moved, hence not visible anymore, at least with Firefox 62.0.3.

A possible fix to this is to change the positioning in CSS to "fixed":

/usr/share/awstats/plugins/tooltips.pm, line 66: print ".CTooltip { position:absolute; top: 0px; ... to print ".CTooltip { position:fixed; top: 0px; ...

This is awstats 7.6 (build 20161204), packaged with Debian Stretch (9.5), Firefox 62.0.3.

dannybeckett commented 1 month ago

This issue is still present in Advanced Web Statistics 7.9 (build 20230108)

A workaround is to use this option in your .conf file:

HTMLHeadSection="<style>    /* Show tooltips even when scrolled down */ .CTooltip { position: fixed !important; }    </style>"