From e2a3eeb9edb8b16e401b74be31c2dc7517c619ed Mon Sep 17 00:00:00 2001 From: nishant23122000 Date: Sat, 5 Nov 2022 01:00:33 +0530 Subject: [PATCH 1/2] wrap message system text --- .../Message/MessageSystem/MessageSystem.styles.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/fuselage/src/components/Message/MessageSystem/MessageSystem.styles.scss b/packages/fuselage/src/components/Message/MessageSystem/MessageSystem.styles.scss index c378e717b8..eb4a32830f 100644 --- a/packages/fuselage/src/components/Message/MessageSystem/MessageSystem.styles.scss +++ b/packages/fuselage/src/components/Message/MessageSystem/MessageSystem.styles.scss @@ -38,7 +38,7 @@ $message-system-background-color-selected: functions.theme( @include typography.use-font-scale(p2); @include typography.use-with-truncated-text(); margin-inline: lengths.margin(2); - + white-space: pre-wrap; color: colors.font(annotation); } @@ -63,6 +63,6 @@ $message-system-background-color-selected: functions.theme( &__block { display: flex; flex-direction: row; - align-items: center; + align-items: flex-start; } } From 6ea659d7e98f264ea42dc1bd5637e7eeea0e4727 Mon Sep 17 00:00:00 2001 From: nishant23122000 Date: Mon, 7 Nov 2022 17:33:41 +0530 Subject: [PATCH 2/2] fix lint --- .../components/Message/MessageSystem/MessageSystem.styles.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/fuselage/src/components/Message/MessageSystem/MessageSystem.styles.scss b/packages/fuselage/src/components/Message/MessageSystem/MessageSystem.styles.scss index eb4a32830f..b23e1f3094 100644 --- a/packages/fuselage/src/components/Message/MessageSystem/MessageSystem.styles.scss +++ b/packages/fuselage/src/components/Message/MessageSystem/MessageSystem.styles.scss @@ -38,7 +38,9 @@ $message-system-background-color-selected: functions.theme( @include typography.use-font-scale(p2); @include typography.use-with-truncated-text(); margin-inline: lengths.margin(2); + white-space: pre-wrap; + color: colors.font(annotation); }