Browse Source

JSY-12311 默认文字可以赋值

es6
zsmj 2 years ago
parent
commit
c12603e1d6
  1. 1
      src/less/resource/app.less
  2. 16
      src/less/typographic.less

1
src/less/resource/app.less

@ -14,7 +14,6 @@ body {
top: 0; top: 0;
left: 0; left: 0;
background-repeat: repeat; background-repeat: repeat;
.user-select-disable();
color: @color-bi-text-normal; color: @color-bi-text-normal;
font: normal 12px "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Heiti, "黑体", sans-serif; font: normal 12px "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Heiti, "黑体", sans-serif;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;

16
src/less/typographic.less

@ -19,6 +19,7 @@
overflow-x: hidden; overflow-x: hidden;
overflow-y: hidden; overflow-y: hidden;
} }
.overflow-dot() { .overflow-dot() {
text-overflow: ellipsis; text-overflow: ellipsis;
overflow-x: hidden; overflow-x: hidden;
@ -36,18 +37,9 @@
} }
.user-select-disable() { .user-select-disable() {
-webkit-user-select: none; .user-select(none);
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
} }
.user-select-enable() { .user-select-enable() {
-webkit-user-select: text; .user-select(auto);
-khtml-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
-o-user-select: text;
user-select: text;
} }
Loading…
Cancel
Save