@netang/quasar 0.2.46 → 0.2.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,7 +42,7 @@
42
42
 
43
43
  <!-- 否则如果开启复制 -->
44
44
  <div
45
- class="full-width"
45
+ class="full-width n-word-wrap"
46
46
  :class="valueClass"
47
47
  :style="valueStyle"
48
48
  @click="onCopy"
@@ -51,7 +51,7 @@
51
51
 
52
52
  <!-- 否则仅展示 -->
53
53
  <div
54
- class="full-width"
54
+ class="full-width n-word-wrap"
55
55
  :class="valueClass"
56
56
  :style="valueStyle"
57
57
  v-else
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netang/quasar",
3
- "version": "0.2.46",
3
+ "version": "0.2.48",
4
4
 
5
5
  "description": "netang-quasar",
6
6
  "scripts": {
package/sass/common.scss CHANGED
@@ -94,6 +94,12 @@ body {
94
94
  text-decoration: underline;
95
95
  }
96
96
 
97
+ // 文本自动换行
98
+ .n-word-wrap {
99
+ word-wrap: break-word; /* 允许在长单词内部换行 */
100
+ word-break: break-all; /* 允许任意位置的单词断行 */
101
+ }
102
+
97
103
  //.n-color-primary,
98
104
  //.n-color-main {
99
105
  // color: var(--q-primary);