From 250718a40f159fbd99f96d54c11e9a6aea080f04 Mon Sep 17 00:00:00 2001 From: Stefanos Anagnostou Date: Thu, 10 Oct 2019 23:05:11 +0300 Subject: [PATCH] fix(toast): inherit height in container to center align content (#19409) --- core/src/components/toast/toast.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/src/components/toast/toast.scss b/core/src/components/toast/toast.scss index daa6ee675d..5eb91014f5 100644 --- a/core/src/components/toast/toast.scss +++ b/core/src/components/toast/toast.scss @@ -96,6 +96,10 @@ align-items: center; pointer-events: auto; + height: inherit; + min-height: inherit; + max-height: inherit; + contain: content; } @@ -146,4 +150,4 @@ .toast-button:hover { cursor: pointer; } -} \ No newline at end of file +}