Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f48b606

Browse files
author
vikasrohit
committedJul 7, 2016
AS#152122905738626, Files upload: dragging/dropping incorrect file leads to overlap with help text
-- Fixed
1 parent 6ba4d50 commit f48b606

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed
 

‎app/directives/tc-fp-file-input/tc-fp-file-input.directive.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ import _ from 'lodash'
3636
// set mimeTypes
3737
if (scope.fieldId.indexOf('ZIP') > -1) {
3838
scope.mimeTypes = 'application/zip'
39-
dragText = 'Drag and drop your .zip file here (500MB max)'
39+
dragText = 'Drag and drop your .zip file here (500MB max) <br> or'
4040
} else if (scope.fieldId.indexOf('DESIGN_COVER') > -1) {
4141
scope.mimeTypes = 'image/png,image/jpeg,image/bmp'
4242
dragAreaClasses += ' tc-fp-file-drag-drop-image'
43-
dragText = 'Drag and Drop your PNG or JPG file here'
43+
dragText = 'Drag and Drop your PNG or JPG file here <br> or'
4444
}
4545

4646
// set default services

‎assets/css/directives/tc-fp-file-input.directive.scss

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,6 @@ tc-fp-file-input {
1818
width: 240px;
1919
}
2020

21-
.tc-file-field__input::after {
22-
content: 'or';
23-
font-size: 12px;
24-
line-height: 15px;
25-
color: $tc-gray-30;
26-
bottom: 85px;
27-
position: absolute;
28-
left: 50%;
29-
transform: translateX(-50%)
30-
}
31-
3221
.tc-btn {
3322
margin-bottom: 5px;
3423
position: absolute;

0 commit comments

Comments
 (0)
This repository has been archived.