Skip to content

Commit

Permalink
Merge branch 'main' into canary
Browse files Browse the repository at this point in the history
  • Loading branch information
jrgarciadev committed Dec 13, 2024
2 parents fd86056 + 384382a commit 8d53e8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions apps/docs/components/docs/components/package-managers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ export const PackageManagers = ({
})}
</Tabs>
{showGlobalInstallWarning && (
<Blockquote className="my-2 text-small" color="warning">
<Blockquote className="my-2 text-base md:text-small" color="warning">
The above command is for individual installation only. You may skip this step if{" "}
<Code className="px-1 py-0.5 text-tiny font-mono">@nextui-org/react</Code> is already
installed globally.
<Code className="px-1 py-0.5 text-small md:text-tiny font-mono">@nextui-org/react</Code>{" "}
is already installed globally.
</Blockquote>
)}
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ import {

export default function App() {
const {isOpen, onOpen, onOpenChange} = useDisclosure();

const targetRef = React.useRef(null);
const {moveProps} = useDraggable({targetRef, canOverflow: true});
const {moveProps} = useDraggable({targetRef, canOverflow: true, isDisabled: !isOpen});

return (
<>
Expand Down

0 comments on commit 8d53e8b

Please sign in to comment.