Skip to content

Commit 692b7f1

Browse files
Dmceachernmsft/ContextMenuTestAlignmentFix (#1701)
* update sub Icon styles * Change files * update styles * Update @internal-react-components-98daf1a6-2477-44dc-bc3d-efb08935e46d.json
1 parent 4c0a64a commit 692b7f1

3 files changed

Lines changed: 21 additions & 2 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "Fix chevron alignment issues on message read receipt flyout.",
4+
"packageName": "@internal/react-components",
5+
"email": "94866715+dmceachernmsft@users.noreply.github.com",
6+
"dependentChangeType": "patch"
7+
}

packages/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ import { MessageThreadStrings } from '../MessageThread';
1919
import {
2020
chatMessageMenuStyle,
2121
menuIconStyleSet,
22-
menuItemIncreasedSizeStyles
22+
menuItemIncreasedSizeStyles,
23+
menuSubIconStyleSet
2324
} from '../styles/ChatMessageComponent.styles';
2425

2526
/** @private */
@@ -147,7 +148,7 @@ export const ChatMessageActionFlyout = (props: ChatMessageActionFlyoutProps): JS
147148
},
148149
submenuIconProps: {
149150
iconName: 'HorizontalGalleryRightButton',
150-
styles: menuIconStyleSet
151+
styles: menuSubIconStyleSet
151152
},
152153
disabled: messageReadByCount <= 0
153154
});

packages/react-components/src/components/styles/ChatMessageComponent.styles.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,14 @@ export const menuIconStyleSet = {
9090
width: '1.25rem'
9191
}
9292
};
93+
94+
/**
95+
* @private
96+
*/
97+
export const menuSubIconStyleSet = {
98+
root: {
99+
height: 'unset',
100+
lineHeight: '100%',
101+
width: '1.25rem'
102+
}
103+
};

0 commit comments

Comments
 (0)