Skip to content

Commit 0961da3

Browse files
authored
docs(MessageView): adjust dialog example (#5993)
Closes #5990
1 parent ab7234b commit 0961da3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/main/src/components/MessageView/MessageView.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ function MyComponent() {
5353
const [isOnDetailsPage, setIsOnDetailsPage] = useState(false);
5454
return (
5555
<Dialog
56+
style={{ width: '500px' }}
5657
className="modal-without-padding"
5758
header={
5859
<Bar

packages/main/src/components/MessageView/MessageView.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export const MessageViewInDialog: Story = {
123123
Open Dialog
124124
</Button>
125125
<Dialog
126-
style={{ width: '400px' }}
126+
style={{ width: '500px' }}
127127
className="contentPartNoPadding headerPartNoPadding"
128128
open={open}
129129
onClose={() => {

0 commit comments

Comments
 (0)