Skip to content

Commit 6700f17

Browse files
authored
fix: feedback (#1978)
* feat: adjust feedback * fix: text * fix: styles
1 parent 42d48e7 commit 6700f17

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

i18n/en/code.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -730,11 +730,11 @@
730730
"description": "Description for data lake support card"
731731
},
732732
"NoDesc": {
733-
"message": "No",
733+
"message": "FeedBack",
734734
"description": "NoDesc"
735735
},
736736
"Please describe the specific errors or issues that": {
737-
"message": "Please describe the specific errors or issues that you have identified in the document (such as: content mistakes, process getting stuck and unable to proceed, layout problems, broken links, etc.)",
737+
"message": "*Please describe the specific errors or issues that you have identified in the document (such as: content mistakes, process getting stuck and unable to proceed, layout problems, broken links, etc.)",
738738
"description": "Please describe the specific errors or issues that you have identified in the document (such as: content mistakes, process getting stuck and unable to proceed, layout problems, broken links, etc.)"
739739
}
740740
}

i18n/zh/code.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@
750750
"description": "NoDesc"
751751
},
752752
"Please describe the specific errors or issues that": {
753-
"message": "请描述您在文档中发现的具体错误或问题(例如:内容错误、流程卡住走不通、排版问题、链接失效等)",
753+
"message": "*请描述您在文档中发现的具体错误或问题(例如:内容错误、流程卡住走不通、排版问题、链接失效等)",
754754
"description": "Please describe the specific errors or issues that you have identified in the document (such as: content mistakes, process getting stuck and unable to proceed, layout problems, broken links, etc.)"
755755
}
756756
}

src/theme/DocPaginator/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default function DocPaginator(props) {
4646
<Form.Item
4747
name={"name"}
4848
style={{ marginBottom: "16px", marginTop: "12px" }}
49-
label={$t("领取人信息")}
49+
label={$t("领取人信息(可选)")}
5050
>
5151
<Input size="large" placeholder="您的姓名" />
5252
</Form.Item>
@@ -66,7 +66,7 @@ export default function DocPaginator(props) {
6666
{isChina && (
6767
<Alert
6868
message={
69-
"帮助我们改进文档!如果您在阅读过程中发现任何错误,请在此处告知我们。留下您的联系方式,我们将与您确认问题并及时修复,感谢您的支持!"
69+
"帮助我们改进文档!如果您在阅读过程中发现任何错误,请在此处告知我们。可以留下您的联系方式,我们将与您确认问题并及时修复,感谢您的支持!"
7070
}
7171
style={{ textAlign: "left", marginBottom: "20px" }}
7272
type="info"

src/theme/DocPaginator/styles.module.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
}
1515
div.button {
1616
cursor: pointer;
17-
width: 86px;
17+
width: auto;
18+
padding: 0 12px;
1819
height: 32px;
1920
margin-left: 6px;
2021
background-color: var(--color-bg-1);
@@ -32,7 +33,9 @@
3233
}
3334
&:hover {
3435
background-color: var(--color-fill-0);
35-
border: 1px solid hsl(var(--border));
36+
}
37+
@media screen and (max-width: 768px) {
38+
margin-top: 12px;
3639
}
3740
@media screen and (max-width: 768px) {
3841
margin-top: 12px;

0 commit comments

Comments
 (0)