Skip to content

Commit

Permalink
Fix code block messages overlap context menu in Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
ginsuma committed Jul 5, 2023
1 parent f9a8529 commit 278017c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/styles/getReportActionContextMenuStyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ const miniWrapperStyle = [
borderRadius: variables.buttonBorderRadius,
borderWidth: 1,
borderColor: themeColors.border,
// In Safari, when welcome messages use a code block (triple backticks), they will overlap the context menu below when there is no scrollbar.
transform: 'translateZ(0)',
},
];

Expand Down

0 comments on commit 278017c

Please sign in to comment.