fixes #2187 resize activity tooltips

...when the tooltip extends beyond the page.
I've also added the tooltips (for both storage and activity) logic to a js file `intro_tooltips.js` and imported it into `intro.tpl`
This commit is contained in:
Linty
2024-07-15 17:41:18 +02:00
parent 8c25d7d2a1
commit d1cd5b11ef
4 changed files with 142 additions and 132 deletions
+2 -12
View File
@@ -1530,17 +1530,6 @@ a.stat-box:hover {
white-space: nowrap;
}
.intro-charts .tooltip::after {
content: " ";
position: absolute;
bottom: 100%;
left: 51%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: transparent transparent white transparent;
}
.activity-chart span div:hover{
padding: 0.5vw;
}
@@ -1588,7 +1577,8 @@ a.stat-box:hover {
content: none;
}
.storage-tooltips .tooltip-arrow {
.storage-tooltips .tooltip-arrow,
.activity-chart .tooltip-arrow {
content: " ";
position: absolute;
bottom: 100%;