We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11f0a82 commit 80ff9c5Copy full SHA for 80ff9c5
ui/src/styles/element-plus.scss
@@ -319,3 +319,8 @@
319
padding-left: 12px !important;
320
padding-right: 12px !important;
321
}
322
+
323
+// select下拉框
324
+.select-popper {
325
+ max-width: 300px;
326
+}
ui/src/views/paragraph/component/ProblemComponent.vue
@@ -25,13 +25,17 @@
25
@change="addProblemHandle"
26
@blur="isAddProblem = false"
27
class="mb-16"
28
+ popper-class="select-popper"
29
+ :popper-append-to-body="false"
30
>
31
<el-option
32
v-for="item in problemOptions"
33
:key="item.id"
34
:label="item.content"
35
:value="item.id"
- />
36
+ >
37
+ {{ item.content }}
38
+ </el-option>
39
</el-select>
40
<template v-for="(item, index) in problemList" :key="index">
41
<TagEllipsis
0 commit comments