From 087f262f697fd17876c53cc8872a9243c9bb1b9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 16 Feb 2021 08:43:09 +0100 Subject: [PATCH] scss: add style for block remove button (#45368) --- static/includes/wcs/_bulk.scss | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/static/includes/wcs/_bulk.scss b/static/includes/wcs/_bulk.scss index b55a2c6f..c46f3f07 100644 --- a/static/includes/wcs/_bulk.scss +++ b/static/includes/wcs/_bulk.scss @@ -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 + } + } +}