Skip to content

Commit

Permalink
Issue 58: disable text selection for panel and viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
IbrahimCSAE committed Apr 16, 2024
1 parent 2237cd8 commit 4344f42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/ui/src/components/SidePanel/SidePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ const SidePanel = ({
return (
<div
className={classnames(
'text-primary-active flex grow cursor-pointer justify-center self-center text-[13px]'
'text-primary-active flex grow cursor-pointer select-none justify-center self-center text-[13px]'
)}
style={{
...(side === 'left'
Expand All @@ -371,7 +371,7 @@ const SidePanel = ({

const getOpenStateComponent = () => {
return (
<div className="bg-primary-dark flex rounded-t pt-1.5 pb-[2px]">
<div className="bg-primary-dark flex select-none rounded-t pt-1.5 pb-[2px] ">
{getCloseIcon()}
{tabs.length === 1 ? getOneTabComponent() : getTabGridComponent()}
</div>
Expand Down

0 comments on commit 4344f42

Please sign in to comment.