mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
A new approach so that the elements of the ds-file-dropzone-no-uploader component don't overlap the navbar and make it inaccessible
(cherry picked from commit 2c259f5ae9
)
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user