mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 23:33:13 +09:00
Prevent dropping files outside of dropzones
This commit is contained in:
1 parent
b6113a1007
commit
05b697fd24
3 files changed
+36
-3
No files matched your search
@@ -7,6 +7,7 @@ export function Dropzone() {
|
||||
const isDroppingFile = useContext(DraggingContext);
|
||||
|
||||
return <div
|
||||
className="dropzone" // Don't remove this class, linked to SiteLayout.tsx
|
||||
style={{
|
||||
position: "absolute",
|
||||
top: "0",
|
||||
@@ -21,7 +22,7 @@ export function Dropzone() {
|
||||
}}
|
||||
>
|
||||
<div
|
||||
id="dropzone-icon"
|
||||
className="dropzone-icon"
|
||||
style={{
|
||||
fontSize: "72px",
|
||||
color: "rgb(22, 119, 255)",
|
||||
|
||||
Reference in new issue
Block a user