From ff52d5f9129857a9e572c57f3ffbac6458a74de4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Bryxi=CC=81?= Date: Mon, 16 Dec 2024 11:23:21 +0100 Subject: [PATCH] fix: Drop zone alignment --- app/components/open-to/files/upload/index.gjs | 47 ++++++++++--------- .../open-to/files/upload/instructions.gjs | 11 ----- 2 files changed, 25 insertions(+), 33 deletions(-) delete mode 100644 app/components/open-to/files/upload/instructions.gjs diff --git a/app/components/open-to/files/upload/index.gjs b/app/components/open-to/files/upload/index.gjs index a358b49..9140ddd 100644 --- a/app/components/open-to/files/upload/index.gjs +++ b/app/components/open-to/files/upload/index.gjs @@ -3,7 +3,6 @@ import FileDropzone from 'ember-file-upload/components/file-dropzone'; import fileQueue from 'ember-file-upload/helpers/file-queue'; import { t } from 'ember-intl'; import Avatar from '../../../avatar'; -import Instructions from './instructions'; import { action } from '@ember/object'; import { on } from '@ember/modifier'; import { Button } from '@frontile/buttons'; @@ -19,25 +18,29 @@ export default class OpenToFilesUpload extends Component { {{#let (fileQueue onFileAdded=this.uploadPhoto) as |queue|}} - {{#if dropzone.active}} - - - {{t 'drag-and-drop.drop-now'}} - - - {{else}} -
-
- -
+
+
+ +
- - - + {{/if}} +
- {{/if}} +
{{/let}} diff --git a/app/components/open-to/files/upload/instructions.gjs b/app/components/open-to/files/upload/instructions.gjs deleted file mode 100644 index e377946..0000000 --- a/app/components/open-to/files/upload/instructions.gjs +++ /dev/null @@ -1,11 +0,0 @@ -import Component from '@glimmer/component'; - -export default class OpenToFilesUploadInstructions extends Component { - -}