From 46c36811bcf9fc33567c65746114bfb0d3afd8b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Wed, 10 Aug 2022 09:22:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96el-tag=E7=9A=84=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/mdp.scss | 8 +------- src/views/xm/core/xmQuestion/XmQuestionEdit.vue | 8 ++++++++ 2 files changed, 9 insertions(+), 7 deletions(-) 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;; +}