From b12dadb0dc88f678a3b37890533ad07915b3c2c3 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Thu, 19 Nov 2020 17:41:57 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B02847=20-=20Button:=20Fix=20icon=20right?= =?UTF-8?q?=20margin=20and=20missing=20data=20role=20in=20markup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/backoffice/components/_button.scss | 2 +- templates/components/button/layout.html.twig | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/css/backoffice/components/_button.scss b/css/backoffice/components/_button.scss index 2d09186167..0c514ea72b 100644 --- a/css/backoffice/components/_button.scss +++ b/css/backoffice/components/_button.scss @@ -404,7 +404,7 @@ $ibo-button-colors: ( } /* Only when a button has both an icon and a label */ -.ibo-button-icon + .ibo-button-label { +.ibo-button--icon + .ibo-button--label { margin-left: $ibo-button--label--margin-left; } diff --git a/templates/components/button/layout.html.twig b/templates/components/button/layout.html.twig index 7f39e07397..6307b3fbfb 100644 --- a/templates/components/button/layout.html.twig +++ b/templates/components/button/layout.html.twig @@ -1,5 +1,6 @@