Skip to content

Commit fbf1c78

Browse files
committed
doc: add backtop
1 parent d484e1f commit fbf1c78

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

site/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@
6666
<div
6767
class="surveybyantdv"
6868
data-sf-id="63ad5912f3e10066"
69-
data-sf-mode="sidetab"
69+
data-sf-mode="popover"
7070
data-sf-button-color="#1890ff"
7171
data-sf-text-color="#ffffff"
7272
data-sf-font-size="18"
73-
data-sf-button-text="体验反馈"
74-
data-sf-button-radius="4"
73+
data-sf-button-text=""
74+
data-sf-button-radius="50%"
7575
data-sf-button-icon="like-outlined"
7676
data-sf-default-open="false"
7777
data-sf-allow-repeat-submit="true"

site/src/layouts/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
</a-anchor>
6060
</a-affix>
6161
</section>
62+
<a-back-top />
6263
<div class="fixed-widgets" :style="isZhCN ? { bottom: '175px' } : {}">
6364
<a-dropdown placement="top">
6465
<template #overlay>

site/src/theme/static/common.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ a {
205205
position: fixed;
206206
right: 32px;
207207
bottom: 102px;
208-
z-index: 2147483640;
208+
z-index: 100;
209209
display: flex;
210210
flex-direction: column;
211211
cursor: pointer;

0 commit comments

Comments
 (0)