.module-editor {
  overflow: visible;
}
.module-editor p {
  margin: 5px 0;
}
.module-editor p[style*="line-height"] {
  margin: 0;
}
.module-editor img {
  max-width: 100%;
  height: auto;
}

/* 图片布局表格（富文本页面中用表格排列图片） */
.right-content table:not([border]) {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 20px 12px;
  width: 65% !important;
  margin: 0 auto;
}
.right-content table:not([border]) td {
  border: none;
  padding: 0;
}
.right-content table:not([border]) img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
@media screen and (max-width: 769px) {
  .right-content table:not([border]),
  .right-content table:not([border]) tbody,
  .right-content table:not([border]) tr,
  .right-content table:not([border]) td {
    display: block;
    width: 100% !important;
  }
  .right-content table:not([border]) {
    border-spacing: 0 !important;
  }
  .right-content table:not([border]) td {
    padding: 6px 0 !important;
  }
  .right-content table:not([border]) img {
    height: auto;
    max-height: 240px;
  }
}

/* 数据表格样式（module-editor 内的表格，优先级高于上面的图片表格规则） */
.right-content .module-editor table,
.module-editor table {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  width: 100% !important;
  table-layout: auto;
  word-break: break-word;
  margin: 0;
}
.right-content .module-editor table th,
.right-content .module-editor table td,
.module-editor table th,
.module-editor table td {
  border: 1px solid #d9d9d9;
  padding: 10px 14px !important;
  text-align: center !important;
  vertical-align: middle !important;
  width: auto !important;
}
