Просмотр исходного кода

feat: add scrollbar to rich editor text containers

E2E Test Bot 3 недель назад
Родитель
Сommit
ba15e7d244

+ 2 - 0
cfc-web/src/views/admin/ActivityEdit.vue

@@ -593,5 +593,7 @@ activityId
 }
 .rich-editor /deep/ .w-e-text-container {
   min-height: 300px;
+  max-height: 500px;
+  overflow-y: auto;
 }
 </style>

+ 2 - 0
cfc-web/src/views/admin/ArticleEdit.vue

@@ -577,6 +577,8 @@ onError: (file, err, res) => {
 }
 .rich-editor /deep/ .w-e-text-container {
   min-height: 400px;
+  max-height: 600px;
+  overflow-y: auto;
 }
 
 /* ========== 响应式表单 ========== */

+ 2 - 0
cfc-web/src/views/admin/ProductEdit.vue

@@ -1056,6 +1056,8 @@ async loadGiftRule(productId) {
 }
 .rich-editor /deep/ .w-e-text-container {
   min-height: 300px;
+  max-height: 500px;
+  overflow-y: auto;
 }
 .purchase-field-section {
   display: flex;