adjust border

This commit is contained in:
Pete Matsyburka
2025-05-15 13:59:06 +03:00
parent f2bf1461f0
commit fdd030652e
6 changed files with 19 additions and 11 deletions
+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')
}