.editorWrapper {
  background-color: #fff;
  border: 3px solid #0d0d0d;
  border-radius: 0.75rem;
  color: #0d0d0d;
  display: flex;
  flex-direction: column;
  max-height: 26rem;

  .editorContent {
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 1.25rem 1rem;
    -webkit-overflow-scrolling: touch;
  }

  :global {
    .ProseMirror {
      outline: none;
      > * + * {
        margin-top: 0.75em;
      }

      ul,
      ol {
        padding: 0 1rem;
      }

      h1,
      h2,
      h3,
      h4,
      h5,
      h6 {
        line-height: 1.1;
      }

      code {
        background-color: rgba(#616161, 0.1);
        color: #616161;
      }

      pre {
        background: #0d0d0d;
        border-radius: 0.5rem;
        color: #fff;
        font-family: "JetBrainsMono", monospace;
        padding: 0.75rem 1rem;

        code {
          background: none;
          color: inherit;
          font-size: 0.8rem;
          padding: 0;
        }
      }

      mark {
        background-color: #faf594;
      }

      img {
        height: auto;
        max-width: 100%;
      }

      hr {
        margin: 1rem 0;
      }

      blockquote {
        border-left: 2px solid rgba(#0d0d0d, 0.1);
        padding-left: 1rem;
      }

      hr {
        border: none;
        border-top: 2px solid rgba(#0d0d0d, 0.1);
        margin: 2rem 0;
      }
    }

    .editor__footer {
      align-items: center;
      border-top: 3px solid #0d0d0d;
      color: #0d0d0d;
      display: flex;
      flex: 0 0 auto;
      font-size: 12px;
      flex-wrap: wrap;
      font-weight: 600;
      justify-content: space-between;
      padding: 0.25rem 0.75rem;
      white-space: nowrap;
    }

    /* Some information about the status */
    .editor__status {
      align-items: center;
      border-radius: 5px;
      display: flex;

      &::before {
        background: rgba(#0d0d0d, 0.5);
        border-radius: 50%;
        content: " ";
        display: inline-block;
        flex: 0 0 auto;
        height: 0.5rem;
        margin-right: 0.5rem;
        width: 0.5rem;
      }

      &--connecting::before {
        background: #616161;
      }

      &--connected::before {
        background: #b9f18d;
      }
    }

    .editor__name {
      button {
        background: none;
        border: none;
        border-radius: 0.4rem;
        color: #0d0d0d;
        font: inherit;
        font-size: 12px;
        font-weight: 600;
        padding: 0.25rem 0.5rem;

        &:hover {
          background-color: #0d0d0d;
          color: #fff;
        }
      }
    }
  }
}
