58e7f3c7e1
Previously, the ugly file input was hidden with opacity, and styled as a square paperclip icon, but its drop and click zones were not constrained to the visible square. They remained active across the whole 'Choose File' button, which overlapped with the textarea. Instead, hide the file input complete (display: none) and transmit click events from the paperclip to the input programmatically. Eventually, we'll need to address drag and drop events, but I want to do that at the window level. Otherwise dropping a file outside the file input drop zone causes the browser to navigate to the file://... url. |
||
---|---|---|
.. | ||
view | ||
_shame.scss | ||
_variables.scss | ||
index.css | ||
manifest.css | ||
manifest.css.map | ||
manifest.scss | ||
options.css |