From b91d3df6d8eb3fcbd4ad6840e30bb0f4805a0ea0 Mon Sep 17 00:00:00 2001 From: Corina Date: Tue, 9 Apr 2019 12:21:27 -0700 Subject: [PATCH] Update webchat__row to BEM naming convention --- packages/component/src/Activity/CarouselFilmStrip.js | 2 +- packages/component/src/Activity/StackedLayout.js | 12 ++++++------ .../src/Styles/StyleSet/CarouselFilmStrip.js | 2 +- .../component/src/Styles/StyleSet/StackedLayout.js | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/component/src/Activity/CarouselFilmStrip.js b/packages/component/src/Activity/CarouselFilmStrip.js index 5168e21b1c..9b77999f36 100644 --- a/packages/component/src/Activity/CarouselFilmStrip.js +++ b/packages/component/src/Activity/CarouselFilmStrip.js @@ -157,7 +157,7 @@ const ConnectedCarouselFilmStrip = connectCarouselFilmStrip(
{( activity.channelData diff --git a/packages/component/src/Activity/StackedLayout.js b/packages/component/src/Activity/StackedLayout.js index e6568888ac..b5c45e823a 100644 --- a/packages/component/src/Activity/StackedLayout.js +++ b/packages/component/src/Activity/StackedLayout.js @@ -25,7 +25,7 @@ const ROOT_CSS = css({ flexGrow: 1, overflow: 'hidden', - '& > .webchat-row': { + '& > .webchat__row': { display: 'flex', '& > .bubble, & > .timestamp': { @@ -47,7 +47,7 @@ const ROOT_CSS = css({ '&.from-user': { flexDirection: 'row-reverse', - '& > .content > .webchat-row': { + '& > .content > .webchat__row': { flexDirection: 'row-reverse' } } @@ -119,7 +119,7 @@ export default connectStackedLayout(
{ activity.type === 'typing' ? -
+
{ children({ activity, @@ -129,7 +129,7 @@ export default connectStackedLayout(
: !!activityDisplayText && -
+
-
+
{ showSendStatus ? diff --git a/packages/component/src/Styles/StyleSet/CarouselFilmStrip.js b/packages/component/src/Styles/StyleSet/CarouselFilmStrip.js index c346e6be42..9c3b5ed031 100644 --- a/packages/component/src/Styles/StyleSet/CarouselFilmStrip.js +++ b/packages/component/src/Styles/StyleSet/CarouselFilmStrip.js @@ -37,7 +37,7 @@ export default function ({ } }, - '& > .webchat-row': { + '& > .webchat__row': { marginLeft: paddingRegular } } diff --git a/packages/component/src/Styles/StyleSet/StackedLayout.js b/packages/component/src/Styles/StyleSet/StackedLayout.js index 815afa61b6..8115837f9e 100644 --- a/packages/component/src/Styles/StyleSet/StackedLayout.js +++ b/packages/component/src/Styles/StyleSet/StackedLayout.js @@ -8,7 +8,7 @@ export default function ({ marginRight: paddingRegular, '& > .content': { - '& > .webchat-row': { + '& > .webchat__row': { '& > .bubble, & > .timestamp': { maxWidth: bubbleMaxWidth },