.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;
}

/* 富文本数据表格样式（带 border 属性的表格） */
.module-editor table[border] {
  border-collapse: collapse;
  width: 100% !important;
  table-layout: auto;
  word-break: break-word;
}
.module-editor table[border] th,
.module-editor table[border] td {
  border: 1px solid #d9d9d9;
  padding: 10px 14px !important;
  text-align: center !important;
  vertical-align: middle !important;
  width: auto !important;
}

.module-editor .table-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media screen and (max-width: 769px) {
  .module-editor table[border] {
    font-size: 14px !important;
    min-width: 360px;
  }
  .module-editor table[border] th,
  .module-editor table[border] td {
    padding: 6px 8px !important;
  }
}

/* 富文本图片表格样式（无 border 属性的表格） */
.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]) 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;
  }
}
