Skip to content

Commit

Permalink
A new approach so that the elements of the ds-file-dropzone-no-upload…
Browse files Browse the repository at this point in the history
…er component don't overlap the navbar and make it inaccessible

(cherry picked from commit 2c259f5)
(cherry picked from commit 25e2c76)
  • Loading branch information
root authored and github-actions[bot] committed Dec 18, 2024
1 parent cb90400 commit c02d30b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<div ng2FileDrop
class="ds-document-drop-zone h-100 w-100"
class="ds-document-drop-zone position-fixed h-100 w-100"
[class.ds-document-drop-zone-active]="(isOverDocumentDropZone | async)"
[uploader]="uploader"
(onFileDrop)="setFile($event)"
(fileOver)="fileOverDocument($event)">
</div>
<div *ngIf="(isOverDocumentDropZone | async)"
class="ds-document-drop-zone-inner h-100 w-100 p-2">
class="ds-document-drop-zone-inner position-fixed h-100 w-100 p-2">
<div
class="ds-document-drop-zone-inner-content position-relative d-flex flex-column justify-content-center text-center h-100 w-100">
<p class="text-primary">{{ dropMessageLabel | translate}}</p>
Expand Down

0 comments on commit c02d30b

Please sign in to comment.