瀏覽代碼

编辑器:提示弹窗样式优化:内容不缩进

(cherry picked from commit b31064bf506c6e206658677bdd7f8824ca9bd77a)
任一存 3 年之前
父節點
當前提交
3dba86691a

+ 1 - 47
packages/qjkankan-editor/src/assets/style/style.pc.edit.less

@@ -777,52 +777,6 @@ textarea:-ms-input-placeholder {
   }
 }
 
-.message-material {
-  border-radius: 4px;
-  @color: #0076F6;
-  background: #fff;
-  padding: 26px;
-  .header-material {
-    border-bottom: none;
-    line-height: 1;
-    height: auto;
-    > span {
-      font-size: 18px;
-      margin-left: 0;
-      &:last-child {
-        width: auto;
-        cursor: pointer;
-        > i {
-          font-size: 20px;
-          color: #909090;
-        }
-      }
-    }
-  }
-
-  .main-material {
-    .ui-message-icon, .ui-message-title {
-      display: none;
-    }
-    .ui-message-content {
-      line-height: 20px;
-      font-size: 14px;
-      color: #323233;
-      text-align: left;
-      margin: 40px 0;
-    }
-  }
-
-
-  .footer-material {
-    margin: 0;
-    margin-top: 60px;
-    padding: 0;
-    border-top: none;
-    text-align: right;
-  }
-}
-
 .ui-message-header {
   width: 100%;
   font-size: 18px;
@@ -865,7 +819,7 @@ textarea:-ms-input-placeholder {
 
   .ui-message-content {
     font-size: 14px;
-    margin: 20px;
+    margin-top: 20px;
     margin-bottom: 30px;
     word-break: break-all;
   }

+ 1 - 1
packages/qjkankan-editor/src/pages/Edit.vue

@@ -44,5 +44,5 @@ img {
   outline: 0;
 }
 </style>
-<style lang="less" src="@/assets/style/style.pc.edit.less"></style>
+<style lang="less" src="@/assets/style/style.pc.editor.less"></style>
 <style src="@/assets/fonts/iconfont.css"></style>