From 80ff9c5eae93cc86cce1c4aa550437aacafee4b4 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud <79562285+wangdan-fit2cloud@users.noreply.github.com> Date: Wed, 17 Apr 2024 10:43:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E3=80=90=E9=97=AE=E9=A2=98=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E3=80=91=E6=B7=BB=E5=8A=A0=E5=85=B3=E8=81=94=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E6=97=B6=EF=BC=8C=E9=97=AE=E9=A2=98=E8=BF=87=E9=95=BF?= =?UTF-8?q?=E4=B8=8B=E6=8B=89=E7=BB=84=E4=BB=B6=E6=A0=B7=E5=BC=8F=E4=BC=98?= =?UTF-8?q?=E5=8C=96(#80)=20(#129)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/styles/element-plus.scss | 5 +++++ ui/src/views/paragraph/component/ProblemComponent.vue | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ui/src/styles/element-plus.scss b/ui/src/styles/element-plus.scss index a9f8a9061..21ace0feb 100644 --- a/ui/src/styles/element-plus.scss +++ b/ui/src/styles/element-plus.scss @@ -319,3 +319,8 @@ padding-left: 12px !important; padding-right: 12px !important; } + +// select下拉框 +.select-popper { + max-width: 300px; +} diff --git a/ui/src/views/paragraph/component/ProblemComponent.vue b/ui/src/views/paragraph/component/ProblemComponent.vue index 6284f3285..04e3819d5 100644 --- a/ui/src/views/paragraph/component/ProblemComponent.vue +++ b/ui/src/views/paragraph/component/ProblemComponent.vue @@ -25,13 +25,17 @@ @change="addProblemHandle" @blur="isAddProblem = false" class="mb-16" + popper-class="select-popper" + :popper-append-to-body="false" > + > + {{ item.content }} +