Skip to content

Commit 2adf44c

Browse files
committed
Dropdown CSS change. Fix to allowing DnD on saved pastes.
1 parent 044d215 commit 2adf44c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

mystbin/frontend/components/EditorTabs.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ export default function EditorTabs({
8989
async function handleDnD(e, index) {
9090
e.preventDefault()
9191

92+
if (!!id) {
93+
return;
94+
}
95+
9296
if(e.dataTransfer && e.dataTransfer.files.length != 0) {
9397
let file = e.dataTransfer.files[0]
9498

mystbin/frontend/styles/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ input[type=radio] {
216216

217217
/* Handle */
218218
.dropdown::-webkit-scrollbar-thumb {
219-
background: #0070f3;
219+
background: #2b2b2b;
220220
}
221221

222222
::-webkit-scrollbar {

0 commit comments

Comments
 (0)