Merge pull request '[GITEA] Make filename accessible in dropzone' (#1242) from Gusted/forgejo:forgejo-dropzone-filename into forgejo-dependency

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/1242
This commit is contained in:
Gusted 2023-08-12 12:53:20 +00:00
commit cb1ec27be4

View file

@ -51,3 +51,12 @@
.dropzone .dz-preview:hover .dz-image img {
filter: opacity(0.5) !important;
}
.dropzone .dz-preview.dz-image-preview .dz-filename {
/* Don't use margin or padding, as that will mess with the dimensions
* of the details div and thereby making the 'Cancel upload' button
* inaccessible to use.
*/
position: relative;
top: 2em;
}