diff --git a/src/styles/mdp.scss b/src/styles/mdp.scss index e25f12f4..2ba7571f 100644 --- a/src/styles/mdp.scss +++ b/src/styles/mdp.scss @@ -314,13 +314,7 @@ table tr.hover-row{ text-align: center; width: 20px; } -/** -超宽度换行 -**/ -.el-tag{ - white-space: normal; - height:auto; -} + /*此处根据不同屏幕分配率显示不同的样式*/ /*手机端*/ @media only screen and (min-width: 0px) and (max-width: 768px) { diff --git a/src/views/xm/core/xmQuestion/XmQuestionEdit.vue b/src/views/xm/core/xmQuestion/XmQuestionEdit.vue index 81c7359d..669090d9 100644 --- a/src/views/xm/core/xmQuestion/XmQuestionEdit.vue +++ b/src/views/xm/core/xmQuestion/XmQuestionEdit.vue @@ -684,4 +684,12 @@ .wf-main-context p > img { max-width: 100%; } + +/** +超宽度换行 +**/ +.el-tag{ + white-space: normal !important;; + height:auto !important;; +}