Remove draggable abilities here
This commit is contained in:
6 files changed
+15
-2
No files matched your search
@@ -6,7 +6,11 @@ export function AccountButton () {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className='relative'>
|
<div className='relative'>
|
||||||
<Link href='/account' className='top-button absolute -top-4 -left-4'>
|
<Link
|
||||||
|
href='/account'
|
||||||
|
className='top-button absolute -top-4 -left-4'
|
||||||
|
draggable={false}
|
||||||
|
>
|
||||||
<FontAwesomeIcon icon={faUser} />
|
<FontAwesomeIcon icon={faUser} />
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ export function BackButton ({
|
|||||||
href={href}
|
href={href}
|
||||||
className='top-button absolute -top-4 -left-4'
|
className='top-button absolute -top-4 -left-4'
|
||||||
ref={refLink}
|
ref={refLink}
|
||||||
|
draggable={false}
|
||||||
>
|
>
|
||||||
<FontAwesomeIcon icon={faArrowLeft} />
|
<FontAwesomeIcon icon={faArrowLeft} />
|
||||||
</Link>
|
</Link>
|
||||||
@@ -30,6 +31,7 @@ export function BackButton ({
|
|||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
className='top-button absolute -top-4 -left-4'
|
className='top-button absolute -top-4 -left-4'
|
||||||
ref={refButton}
|
ref={refButton}
|
||||||
|
draggable={false}
|
||||||
>
|
>
|
||||||
<FontAwesomeIcon icon={faArrowLeft} />
|
<FontAwesomeIcon icon={faArrowLeft} />
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ export function DiscordButton ({ href }: { href?: string }) {
|
|||||||
<Link
|
<Link
|
||||||
href={href ?? '/discord'}
|
href={href ?? '/discord'}
|
||||||
className='top-button absolute -top-4 -right-4'
|
className='top-button absolute -top-4 -right-4'
|
||||||
|
draggable={false}
|
||||||
>
|
>
|
||||||
<FontAwesomeIcon icon={faDiscord} />
|
<FontAwesomeIcon icon={faDiscord} />
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ export function HomeButton ({
|
|||||||
href='/'
|
href='/'
|
||||||
className='top-button absolute -top-4 -left-4'
|
className='top-button absolute -top-4 -left-4'
|
||||||
ref={refLink}
|
ref={refLink}
|
||||||
|
draggable={false}
|
||||||
>
|
>
|
||||||
<FontAwesomeIcon icon={faHome} />
|
<FontAwesomeIcon icon={faHome} />
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ export function ReloadButton ({ action }: { action: () => void }) {
|
|||||||
<button
|
<button
|
||||||
className='top-button absolute -top-4 -right-4'
|
className='top-button absolute -top-4 -right-4'
|
||||||
onClick={action}
|
onClick={action}
|
||||||
|
draggable={false}
|
||||||
>
|
>
|
||||||
<FontAwesomeIcon icon={faArrowsRotate} />
|
<FontAwesomeIcon icon={faArrowsRotate} />
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -6,7 +6,11 @@ export function UploadButton ({ href }: { href: string }) {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className='relative'>
|
<div className='relative'>
|
||||||
<Link href={href} className='top-button absolute -top-4 right-8'>
|
<Link
|
||||||
|
href={href}
|
||||||
|
className='top-button absolute -top-4 right-8'
|
||||||
|
draggable={false}
|
||||||
|
>
|
||||||
<FontAwesomeIcon icon={faUpload} />
|
<FontAwesomeIcon icon={faUpload} />
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user