Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore: translate comments in css files

tzhangchi7de8ac53d16e
diff --git a/packages/app/public/globals.css b/packages/app/public/globals.css
index aa58d38563..ca43c3fec8 100644
--- a/packages/app/public/globals.css
+++ b/packages/app/public/globals.css
@@ -166,9 +166,9 @@ a:visited {
input {
border: none;
-moz-appearance: none;
- -webkit-appearance: none; /*解决ios上按钮的圆角问题*/
- border-radius: 0; /*解决ios上输入框圆角问题*/
- outline: medium; /*去掉鼠标点击的默认黄色边框*/
+ -webkit-appearance: none; /*Solve the rounded corners of buttons on ios*/
+ border-radius: 0; /*Solve the problem of rounded corners of the input box on ios*/
+ outline: medium; /*Remove the default yellow border on mouse click*/
background-color: transparent;
}
diff --git a/packages/app/src/styles/helper.ts b/packages/app/src/styles/helper.ts
index 826b222a5c..da70c3cd4b 100644
--- a/packages/app/src/styles/helper.ts
+++ b/packages/app/src/styles/helper.ts
@@ -106,7 +106,7 @@ export const textEllipsis = (lineNum = 1): CSSProperties => {
display: '-webkit-box',
wordBreak: 'break-all',
WebkitBoxOrient: 'vertical',
- WebkitLineClamp: `${lineNum}`, //需要显示的行数
+ WebkitLineClamp: `${lineNum}`, //the number of rows to display
overflow: 'hidden',
textOverflow: 'ellipsis',
};