Skip to content

Commit

Permalink
Merge pull request #1390 from chaibiq/add_CSS
Browse files Browse the repository at this point in the history
fix missing drag-form when dragging file in to browser
  • Loading branch information
svenstaro authored Apr 26, 2024
2 parents 55ab552 + ee43437 commit 33c5d39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ th span.active span {
justify-content: space-between;
}

.form {
.form, .drag-form {
display: none;
background: var(--drag_background);
position: absolute;
Expand Down
2 changes: 1 addition & 1 deletion src/renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub fn page(
{
div.toolbar_box_group {
@if conf.file_upload {
div.form {
div.drag-form {
div.form_title {
h1 { "Drop your file here to upload it" }
}
Expand Down

0 comments on commit 33c5d39

Please sign in to comment.