.weda-richtext-toolbar {
  border-bottom: 1px solid #d1d1d1;
}

.weda-richtext-toolbar .exeditor-toolbar {
  padding: 5px;
}

exeditor-toolbar-fold,
exeditor-toolbar-button,
exeditor-toolbar-select {
  --button-width: 26px;
  --button-height: 26px;
  font-size: 13px !important;
}

exeditor-toolbar-select > span > span {
  font-size: 12px !important;
}

exeditor-toolbar-option,
exeditor-color-palette,
exeditor-toolbar-table-panel {
  padding: 4px 10px !important;
  font-size: 12px !important;
}

.weda-richtext-editor {
  position: relative;
}

.weda-richtext-editor .tableWrapper {
  display: flex;
  justify-content: center;
}

.weda-richtext-editor .tableWrapper table th {
  background-color: #f5f7fa;
  border: 1px solid #e1e6f0;
}

.weda-richtext-editor .tableWrapper table td {
  border: 1px solid #e1e6f0;
}

.weda-richtext-editor i {
  font-style: italic;
}

.ExEditor-basic {
  height: 100%;
  overflow-y: auto;
  padding-top: 30px;
}

.weda-richtext-container.ex-fullscreen .ExEditor-basic {
  max-height: unset !important;
}

.ExEditor-basic p,
.ExEditor-basic pre {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

.ExEditor-basic ol,
.ExEditor-basic ul {
  padding-inline-start: 32px;
  padding-left: 32px;
}

.weda-richtext-container {
  z-index: 2 !important;
  height: 100%;
}

.weda-richtext-container.ex-fullscreen {
  z-index: 1001 !important;
}

.weda-richText .weda-formcells__content.weui-flex__item {
  padding-top: 17px;
  padding-bottom: 17px;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

.weda-richText .weui-cell_active:active {
  background-color: unset !important;
}

.weda-richText {
  width: 100%;
}

.weda-richText .weda-formcells__content .weui-cell_form {
  padding-top: 0;
  height: 100%;
}

.weda-richText .weui-cells_forms {
  height: 100%;
  overflow: unset;
}

.weda-richText > :last-child {
  height: inherit;
}

.weda-richText.weda-richText-web-not-vertical > :last-child {
  width: calc(
    100% - var(--wd-form-item-label-width) - var(--wd-form-item-label-mr)
  ) !important;
  max-width: inherit;
}

.weda-richText.weda-richText-web-not-vertical {
  display: flex;
}

.weda-richText.weda-richText-web-vertical > :last-child {
  max-width: inherit;
}

exeditor-link-modal {
  z-index: 1005;
  position: relative;
}

.exeditor-toolbar {
  z-index: 1005 !important;
}

.richtext-inner {
  border: 1px solid #d1d1d1;
  border-radius: 3px;
  background-color: inherit;
  width: 100%;
}
