Skip to content

Commit e2a8721

Browse files
committed
fix: enable continuous scroll tip
1 parent 5160c87 commit e2a8721

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

epub_browser/assets/annotation.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@
556556
.continuous-scroll-tip:hover::after {
557557
content: attr(data-tip);
558558
position: absolute;
559-
bottom: calc(100% + 8px);
559+
top: calc(100% + 8px);
560560
left: 50%;
561561
transform: translateX(-50%);
562562
background: var(--text);
@@ -577,11 +577,11 @@
577577
.continuous-scroll-tip:hover::before {
578578
content: '';
579579
position: absolute;
580-
bottom: calc(100% + 2px);
580+
top: calc(100% + 2px);
581581
left: 50%;
582582
transform: translateX(-50%);
583583
border: 5px solid transparent;
584-
border-top-color: var(--text);
584+
border-bottom-color: var(--text);
585585
z-index: 100;
586586
}
587587

0 commit comments

Comments
 (0)