From 20eecbe642bd3b5bad40779b45a8163badedc5e6 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 3 Feb 2021 16:07:55 -0500 Subject: [PATCH] update whitespace var to normal --- BREAKING.md | 10 ++++++++++ core/src/components/toast/toast.scss | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/BREAKING.md b/BREAKING.md index 5c1aa54e6f5..2d071c53f18 100644 --- a/BREAKING.md +++ b/BREAKING.md @@ -12,10 +12,20 @@ This is a comprehensive list of the breaking changes introduced in the major ver ## Version 6.x +- [Components](#components) + * [Toast](#toast) - [Config](#config) * [Transition Shadow](#transition-shadow) + +### Components + +#### Toast + +The `--white-space` CSS variable now defaults to `normal` instead of `pre-wrap`. + + ### Config #### Transition Shadow diff --git a/core/src/components/toast/toast.scss b/core/src/components/toast/toast.scss index 94d08d3cfe6..d42e2d8aeb9 100644 --- a/core/src/components/toast/toast.scss +++ b/core/src/components/toast/toast.scss @@ -39,7 +39,7 @@ --min-height: auto; --height: auto; --max-height: auto; - --white-space: pre-wrap; + --white-space: normal; @include position(0, null, null, 0);