From de8f2404b6fe8d81f65381fbf999df320d8f3202 Mon Sep 17 00:00:00 2001 From: Blackbaud-PatrickOFriel Date: Fri, 12 May 2017 16:39:50 -0400 Subject: [PATCH] Handle styles for filedrop when links are not allowed --- src/modules/fileattachments/file-drop.component.html | 2 +- src/modules/fileattachments/file-drop.component.scss | 4 ++++ .../file-drop.component.visual-spec.js | 11 +++++++++++ .../fixtures/file-drop.component.visual-fixture.html | 9 ++++++++- .../fixtures/file-drop.component.visual-fixture.ts | 2 ++ 5 files changed, 26 insertions(+), 2 deletions(-) diff --git a/src/modules/fileattachments/file-drop.component.html b/src/modules/fileattachments/file-drop.component.html index 8fdc90b42..03c0e27fa 100644 --- a/src/modules/fileattachments/file-drop.component.html +++ b/src/modules/fileattachments/file-drop.component.html @@ -1,4 +1,4 @@ -
+
+ + diff --git a/src/modules/fileattachments/fixtures/file-drop.component.visual-fixture.ts b/src/modules/fileattachments/fixtures/file-drop.component.visual-fixture.ts index 831d54053..1c71c2820 100644 --- a/src/modules/fileattachments/fixtures/file-drop.component.visual-fixture.ts +++ b/src/modules/fileattachments/fixtures/file-drop.component.visual-fixture.ts @@ -27,6 +27,8 @@ class AppComponent { public acceptedTypes: Array; + public allowLinks: boolean = true; + constructor() { this.filesToUpload = []; this.rejectedFiles = [];