From fb710d86823fe88b8ea8c01ef8d8f9d913219219 Mon Sep 17 00:00:00 2001 From: CPatchane Date: Tue, 30 Apr 2019 15:54:19 +0200 Subject: [PATCH] fix(infos): :lipstick: Better handling text bottom margin --- react/Infos/index.jsx | 6 +++++- react/__snapshots__/examples.spec.jsx.snap | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/react/Infos/index.jsx b/react/Infos/index.jsx index 62499932a3..50362ec1a9 100644 --- a/react/Infos/index.jsx +++ b/react/Infos/index.jsx @@ -32,7 +32,11 @@ const Infos = ({ actionButton, icon, isImportant, text, className, title }) => { {title} )} -
+
{icon && (
-
+
My small persistent information!
-
+
My small persistent information, with an icon. And lot of text ? Again and again...
@@ -1050,7 +1050,7 @@ exports[`Infos should render examples: Infos 1`] = `
Infos breaking news
-
+
My small persistent information, with an icon. And lot of text ? Again and again...