chore: translate comments in css files

This commit is contained in:
tzhangchi
2023-01-14 10:00:18 +08:00
parent 49a8be3ce6
commit 7de8ac53d1
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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;
}
+1 -1
View File
@@ -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',
};