.mo-column-text-display.is-hidden {
  display: none !important;
}

.table-scroll th[data-mo-text-display="wrap"] {
  white-space: normal !important;
}

.table-scroll td[data-mo-text-display="wrap"] {
  height: auto !important;
  vertical-align: middle !important;
}

.table-scroll td[data-mo-text-display="wrap"] .mo-wrapped-text-view {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;

  padding: 7px 10px;

  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;

  color: inherit;
  font: inherit;
  line-height: 1.35;
  text-align: inherit;
}

body:not(.mo-edit-mode)
.table-scroll td[data-mo-text-display="wrap"]
.cell-input {
  display: none !important;
}

body:not(.mo-edit-mode)
.table-scroll td[data-mo-text-display="wrap"]
.mo-wrapped-text-view {
  display: block !important;
}

body.mo-edit-mode
.table-scroll td[data-mo-text-display="wrap"]
.mo-wrapped-text-view {
  display: none !important;
}

body.mo-edit-mode
.table-scroll td[data-mo-text-display="wrap"]
.cell-input {
  display: block !important;
}

.table-scroll td[data-mo-text-display="single"] .cell-input,
.table-scroll td[data-mo-text-display="single"] .mo-wrapped-text-view {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
