Skip to content

Commit eaf2406

Browse files
author
Filipe Marins
committed
fix: vertical align on message system
1 parent 287524c commit eaf2406

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

packages/fuselage/src/components/Message/MessageSystem/MessageSystem.stories.tsx

+2-13
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
} from '.';
1111
import { MessageDivider, MessageSystemBlock } from '..';
1212
import { Avatar, Box } from '../..';
13-
import MessageReactions from '../MessageReactions';
1413

1514
export default {
1615
title: 'Message/MessageSystem',
@@ -86,17 +85,8 @@ export const Default = () => (
8685
</MessageSystemBody>
8786
<MessageSystemTimestamp>12:00 PM</MessageSystemTimestamp>
8887
</MessageSystemBlock>
89-
<MessageSystemBlock>
90-
<MessageReactions>
91-
<MessageReactions.Reaction counter={1} />
92-
<MessageReactions.Reaction counter={2} />
93-
<MessageReactions.Reaction counter={3} />
94-
<MessageReactions.Action />
95-
</MessageReactions>
96-
</MessageSystemBlock>
9788
</MessageSystemContainer>
9889
</MessageSystem>
99-
<MessageDivider unreadLabel='Unread' />
10090
<MessageSystem>
10191
<MessageSystemLeftContainer>
10292
<Avatar
@@ -118,9 +108,8 @@ export const Default = () => (
118108
<MessageSystemBlock>
119109
<MessageSystemName>Haylie George</MessageSystemName>
120110
<MessageSystemBody>
121-
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
122-
nisi ut aliquip ex ea commodo consequat a duis aute irure dolor in
123-
reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
111+
Reprehenderit ut aliquip ex ea commodo consequat a duis aute irure
112+
dolor in in voluptate velit esse cillum dolore eu fugiat nulla
124113
pariatur. Consectetur adipiscing elit, sed do eiusmod tempor
125114
incididunt ut labore et dolore magna aliqua. Ut enim ad minim
126115
veniam...

packages/fuselage/src/components/Message/MessageSystem/MessageSystem.styles.scss

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
display: flex;
1919
flex-direction: column;
2020
flex-shrink: 1;
21+
align-self: center;
2122

2223
width: 100%;
2324
margin-block: lengths.margin(-4);

0 commit comments

Comments
 (0)