.capsEditorTitle {
  width: 100%;
  height: 22px;
  padding: 0;
  margin: 0;
  resize: none;
}

.capsNameEditorButton {
  margin: 0 8px 0 0;
  padding: 0;
}

.formattedCaps,
.formattedCapsBody {
  height: 100%;
}

.formattedCapsBody pre {
  height: 100%;
  margin: 0;
  padding: 24px 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.formattedCaps :global(.ant-card-head-title) {
  padding-right: 10px;
  height: 65px;
  width: 100%;
  display: flex;
  align-items: center;
}

.formattedCaps :global(.ant-card-body) {
  height: calc(100% - 66px);
  padding: 0 14px 0 24px;
  flex: 1;
  overflow-y: auto;
}

.formattedCaps :global(.ant-card-extra) {
  padding: 15px 0;
}

.capsEditorControls {
  position: absolute;
  right: 0;
  padding: 28px;
  z-index: 1;
}

.capsEditorButton {
  margin: 0 0 0 4px;
}

.capsEditor {
  width: 100%;
  height: 100%;
  padding: 24px 0;
}

.capsEditorBody {
  width: 100%;
  padding: 0;
  margin: -1px;
  resize: none !important;
  font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace;
  font-size: 1em;
}

.capsEditorBodyFull {
  height: 100% !important;
}

.capsEditorBodyResized {
  height: calc(100% - 40px) !important;
}
