Browse Source

!1371 update Web/src/components/editor/index.vue.
Merge pull request !1371 from X5ZJ/N/A

zuohuaijun 1 year ago
parent
commit
7a8625695c
1 changed files with 29 additions and 0 deletions
  1. 29 0
      Web/src/components/editor/index.vue

+ 29 - 0
Web/src/components/editor/index.vue

@@ -128,3 +128,32 @@ watch(
 	}
 );
 </script>
+<style lang="less">
+	.editor-container {
+		overflow-y: hidden;
+		.w-e-bar-item{
+			.w-e-select-list{				
+				height:150px;
+				z-index: 10 !important;
+			}
+		}			
+		.w-e-text-container {
+			// 文本框里面的层级调低
+			//z-index: 3 !important;
+		}
+		.w-e-toolbar {
+			// 给工具栏换行
+			flex-wrap: wrap;
+			z-index: 4 !important;
+
+		}
+		.w-e-menu {
+			// 最重要的一句代码
+			z-index: auto !important;
+			.w-e-droplist {
+				// 触发工具栏后的显示框调高
+				z-index: 2 !important;
+			}
+		}
+	}
+</style>