Skip to content

Commit

Permalink
Update Sidebar.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
nofurtherinformation committed Nov 26, 2024
1 parent e66d008 commit eb91b5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/app/components/sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {ExitBlockViewButtons} from './ExitBlockViewButtons';
import {Resizable} from 're-resizable';
import { DragHandleHorizontalIcon } from '@radix-ui/react-icons';

const MyHandle = () => {
const HandleIconButton = () => {
return <IconButton
variant="surface"
color="gray"
Expand All @@ -17,7 +17,7 @@ const MyHandle = () => {
position: 'fixed',
width: '24px',
height: '24px',
transform: 'translate(-16px, -50%)',
transform: 'translate(-15px, -50%)',
cursor: 'ew-resize'
}}
>
Expand All @@ -29,7 +29,7 @@ export default function SidebarComponent() {
const document_id = useMapStore(store => store.mapDocument?.document_id);

return (
<Resizable handleComponent={{ left: <MyHandle />}}>
<Resizable handleComponent={{ left: <HandleIconButton />}}>
<Box
p="3"
className="z-10 shadow-md flex-none overflow-y-auto
Expand Down

0 comments on commit eb91b5e

Please sign in to comment.