scss: add style for block remove button (#45368)

This commit is contained in:
Frédéric Péters 2021-02-16 08:43:09 +01:00
parent 0f3453af9b
commit 087f262f69
1 changed files with 19 additions and 0 deletions

View File

@ -749,3 +749,22 @@ div.section.foldable {
}
}
}
.wcs-block-with-remove-button {
.BlockSubWidget {
position: relative;
}
.remove-button {
position: absolute;
right: 3px;
top: 0.5em;
margin-right: 0;
span {
display: none;
}
&::after {
font-family: FontAwesome;
content: "\f1f8"; // trash
}
}
}