From cf721770f429a1f4d5f281be8ab7818c0c8a6d4c Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期日, 28 四月 2024 10:50:13 +0800
Subject: [PATCH] 2024-4-28 资源要求-设备管理前端 el-cascader 调整
---
src/App.vue | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 6c5cb58..89018ea 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -110,9 +110,16 @@
}
.el-popover {
+ max-height: 80vh;
+ overflow-y: auto;
+ overflow-x: hidden;
padding: 0;
z-index: 9999 !important;
}
+
+ .el-popover::-webkit-scrollbar{
+ width: 0;
+ }
.el-popper .popper__arrow {
display: none;
@@ -292,4 +299,13 @@
/* 鍏ㄥ眬杈撳叆妗嗘牱寮� */
/* 鍏ㄥ眬鎸夐挳鏍峰紡 */
+ /* 鍏ㄥ眬鎹㈣婧㈠嚭鏍峰紡 */
+ .ellipsis-multiline {
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 2; /* 瀹氫箟鏂囨湰鐨勮鏁� */
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+
</style>
--
Gitblit v1.9.3