Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
chore: another attemp
Browse files
app.py
CHANGED
@@ -538,24 +538,15 @@ CSS = """
|
|
538 |
"""
|
539 |
back_to_top_btn_html = '''
|
540 |
|
541 |
-
<
|
542 |
-
<button
|
543 |
-
|
544 |
-
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
<
|
549 |
-
|
550 |
-
const element = document.getElementById("content");
|
551 |
-
element.scrollIntoView(true);
|
552 |
-
}
|
553 |
-
|
554 |
-
function scrollToBottom() {
|
555 |
-
const element = document.getElementById("content");
|
556 |
-
element.scrollIntoView(false);
|
557 |
-
}
|
558 |
-
</script>
|
559 |
|
560 |
'''
|
561 |
|
|
|
538 |
"""
|
539 |
back_to_top_btn_html = '''
|
540 |
|
541 |
+
<a href="#top" style="color:white; text-decoration:none;">
|
542 |
+
<button style="display: block; background-color: transparent; border: none; padding: 0; cursor: pointer;">
|
543 |
+
Back to Top!
|
544 |
+
</button>
|
545 |
+
</a>
|
546 |
+
|
547 |
+
<!-- Place this element at the top of your page -->
|
548 |
+
<div id="top"></div>
|
549 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
550 |
|
551 |
'''
|
552 |
|