Skip to content

Commit 2e16492

Browse files
committed
Modify tooltip
1 parent d512f27 commit 2e16492

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

latest/_static/default.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,9 @@ div.tooltip {
429429
color: White;
430430
position: absolute;
431431
left: 35%;
432-
top: -25%;
432+
top: 10%;
433433
z-index: 1000000;
434-
width: 65%;
434+
width: 60%;
435435
border-radius: 5px;
436436
border-style: solid;
437437
border-color: #3d5b25;

latest/index.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,8 @@
5555
}
5656
});
5757

58-
$("#bottom-list").hover(function () {
58+
$( window ).load(function () {
5959
$('#version-list li a.latestversion').append('<div class="tooltip"><p>Latest version</p></div>');
60-
}, function () {
61-
$('#version-list li a.latestversion div').remove();
6260
});
6361

6462
$('#popupmenu li.has-sub').on('click', function(){

0 commit comments

Comments
 (0)