Skip to content

Commit

Permalink
Disable drag handle on title bar in view mode
Browse files Browse the repository at this point in the history
  • Loading branch information
cqliu1 committed Jul 24, 2024
1 parent eb4ce4f commit 5e98d30
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ export const PresentationPanelHeader = <
</EuiScreenReaderOnly>
);

const headerClasses = classNames('embPanel__header', 'embPanel--dragHandle', {
const headerClasses = classNames('embPanel__header', {
'embPanel--dragHandle': viewMode === 'edit',
'embPanel__header--floater': !showPanelBar,
});

Expand Down

0 comments on commit 5e98d30

Please sign in to comment.