.editorjs-dropdown {
  position: relative;
  display: flex;
}

.tools-truncate {
  width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.editorjs-dropdown-btn {
  background-color: transparent;
  color: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
}

.editorjs-dropdown-btn:hover {
  height: 100%;
  background-color: #f4f4f4;
}

.tools-size-truncate {
  width: 60px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.editorjs-dropdown-content {
  top: 36px;
  min-height: 100px;
  padding: 10px;
  width: max-content;
  height: fit-content;
  display: none;
  position: absolute;
  bottom: 0;
  background-color: #fff;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
}

.editorjs-dropdown-content-active {
  display: block;
}

.editorjs-fontfamily-p {
  margin: 0;
  padding: 6px 12px;
  cursor: pointer;
}

.editorjs-fontfamily-p:hover {
  background-color: #f3f3f3;
}