From 6ee543a9207f76756012174cbcf43ac1f652998c Mon Sep 17 00:00:00 2001 From: Wikinaut Date: Mon, 11 Apr 2022 12:59:51 +0300 Subject: [PATCH 1/2] change word-break: break-all; to white-space: pre-wrap; Allow list line breaks at word boundaries - not inside words! --- src/styles/easy-autocomplete.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/styles/easy-autocomplete.scss b/src/styles/easy-autocomplete.scss index f9f6301..8b277cc 100644 --- a/src/styles/easy-autocomplete.scss +++ b/src/styles/easy-autocomplete.scss @@ -419,7 +419,8 @@ $purple: #c7c0de; div { display: block; font-weight: normal; - word-break: break-all; + white-space: pre-wrap; + } b { From c7261472cecfd24eaeca1add1f31979ff928fd3f Mon Sep 17 00:00:00 2001 From: Wikinaut Date: Mon, 11 Apr 2022 13:02:38 +0300 Subject: [PATCH 2/2] change to white-space: pre-wrap; --- dist/easy-autocomplete.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/easy-autocomplete.css b/dist/easy-autocomplete.css index c804104..e06bc0c 100644 --- a/dist/easy-autocomplete.css +++ b/dist/easy-autocomplete.css @@ -283,7 +283,7 @@ .easy-autocomplete-container ul li div { display: block; font-weight: normal; - word-break: break-all; + white-space: pre-wrap; } .easy-autocomplete-container ul li b { font-weight: bold;