File Upload form control - different rendering

Comments

1 comment

  • Avatar
    Sampat Patil

    Hi Victor,

    Removing Box view of file upload control need to take care of two things

    1. Download option (by clicking on filename)
    2. Delete option

    Considering that below CSS may help you.


    #Files .dropzone { min-height: 50px !important; }
    #Files .dz-preview { min-height: 10px !important; padding: 0px !important; margin: 0 10px 0 0; }
    #Files .dz-details { height: 20px !important; }
    #Files .dz-progress, .dz-size { display: none; }
    #Files .dz-filename { margin: 0px !important; }
    #Files img.fileThumbnail { height: 15px !important; width: 100% !important; opacity: 0; }

    PREVIEW:

    NOTE:

    1. #Files used in given CSS is my Subform id (internal name of subform).

    2. The Textarea shown is preview is configured with 3 rows

     

     

    0
    Comment actions Permalink

Please sign in to leave a comment.