.editor-con {
  block-size: 150px;
}
.editor-con .ProseMirror {
  padding: 10px;
  outline: none;
  inline-size: 100%;
  block-size: 100%;
}

/* Preloading style */
.loader {
  font-size: 20px;
  position: relative;
  inline-size: 4em;
  block-size: 1em;
  margin-block: 200px;
  margin-inline: auto;
}

.dot {
  inline-size: 1em;
  block-size: 1em;
  border-radius: 0.5em;
  background: var(--mui-palette-secondary-main);
  position: absolute;
  animation-duration: 0.5s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
}

.dot1,
.dot2 {
  inset-inline-start: 0;
}

.dot3 {
  inset-inline-start: 1.5em;
}

.dot4 {
  inset-inline-start: 3em;
}

@keyframes reveal {
  from {
    transform: scale(0.001);
  }
  to {
    transform: scale(1);
  }
}

@keyframes slide {
  to {
    transform: translateX(1.5em);
  }
}

.dot1 {
  animation-name: reveal;
}

.dot2,
.dot3 {
  animation-name: slide;
}

.dot4 {
  animation-name: reveal;
  animation-direction: reverse; /* thx @HugoGiraudel */
}
