adjust border

This commit is contained in:
Pete Matsyburka committed 2025-05-15 14:39:25 +03:00
1 parent f2bf1461f0
commit fdd030652e
6 files changed
+19 -11

No files matched your search

+2 -2
View File
@@ -28,13 +28,13 @@ export default actionable(targetable(class extends HTMLElement {
if (e.dataTransfer?.types?.includes('Files')) {
this.style.backgroundColor = '#F7F3F0'
this.classList.remove('border-base-300', 'hover:bg-base-200/30')
this.classList.add('border-base-content/50')
this.classList.add('border-base-content/30')
}
}
onDragleave () {
this.style.backgroundColor = null
this.classList.remove('border-base-content/50')
this.classList.remove('border-base-content/30')
this.classList.add('border-base-300', 'hover:bg-base-200/30')
}