Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "patch",
"area": "fix",
"workstream": "A11y",
"comment": "Fix title potentially overlapping with close button on prompt component",
"packageName": "@azure/communication-react",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,16 @@ export const Prompt = (props: PromptProps): JSX.Element => {
return (
<Modal styles={styles} isOpen={props.isOpen} onDismiss={props.onDismiss} isBlocking={false}>
<Stack className={mergeStyles({ position: 'relative' })}>
<Text className={mergeStyles({ fontWeight: 600, fontSize: '1.25rem' })}>{props.heading}</Text>
<Text
className={mergeStyles({
fontWeight: 600,
fontSize: '1.25rem',
paddingRight: '2rem',
wordWrap: 'break-word'
})}
>
{props.heading}
</Text>
<IconButton
styles={iconButtonStyles(theme)}
iconProps={{ iconName: 'Cancel' }}
Expand Down
Loading