auto hide tooltip when scoll down

This commit is contained in:
binary-husky
2025-01-28 23:32:40 +08:00
parent 9f39a6571a
commit 9b0b2cf260
3 changed files with 30 additions and 4 deletions

View File

@@ -32,7 +32,6 @@
visibility: hidden;
}
/* height of the upload box */
.wrap.svelte-xwlu1w {
min-height: var(--size-32);
@@ -285,6 +284,18 @@
left: 10px;
}
#tooltip .hidden {
/* display: none; */
opacity: 0;
transition: opacity 0.5s ease;
}
#tooltip .visible {
/* display: block; */
opacity: 1;
transition: opacity 0.5s ease;
}
#elem_fontsize,
#elem_top_p,
#elem_temperature,