Hide block properties when block is collapsed

To just hide block-properties when the block is collapsed, this works for me (lets hope, that the block-class doesn’t get renamed :wink:

In custom.css, simply add:

/* Hide block-properties of collapsed blocks */
.ls-block:not([data-collapsed="false"]) .block-properties {
  display: none;
}

EDIT: The above example hides also page-properties - this should leave the page-properties as-is:

.ls-block[data-collapsed]:not([data-collapsed="false"]) .block-properties {
  display: none;
}