Browse Source

优化el-tag的显示

master
陈裕财 3 years ago
parent
commit
46c36811bc
  1. 8
      src/styles/mdp.scss
  2. 8
      src/views/xm/core/xmQuestion/XmQuestionEdit.vue

8
src/styles/mdp.scss

@ -314,13 +314,7 @@ table tr.hover-row{
text-align: center; text-align: center;
width: 20px; width: 20px;
} }
/**
超宽度换行
**/
.el-tag{
white-space: normal;
height:auto;
}
/*此处根据不同屏幕分配率显示不同的样式*/ /*此处根据不同屏幕分配率显示不同的样式*/
/*手机端*/ /*手机端*/
@media only screen and (min-width: 0px) and (max-width: 768px) { @media only screen and (min-width: 0px) and (max-width: 768px) {

8
src/views/xm/core/xmQuestion/XmQuestionEdit.vue

@ -684,4 +684,12 @@
.wf-main-context p > img { .wf-main-context p > img {
max-width: 100%; max-width: 100%;
} }
/**
超宽度换行
**/
.el-tag{
white-space: normal !important;;
height:auto !important;;
}
</style> </style>
Loading…
Cancel
Save