JeremyFagis / dropify

Override your input files with style — Demo here : http://jeremyfagis.github.io/dropify
MIT License
974 stars 399 forks source link

Bro i use your lib but i have problem with the width #72

Open ghost opened 6 years ago

ghost commented 6 years ago

Bro, I use your lib but I have a problem with the width of the dropify container plz fix that. The dropify container is getting 120% of the parent width

I try this but not working

.dropify-wrapper{
  max-width: 95% !important;
  width: 95% !important;
}

And this not work

<div style="width:100%;">
       <input type="file" id="category_image_update" [(ngModel)]="category_image_update" name="category_image_update" class="dropify" 
        data-default-file="" data-height="280" data-width="" data-max-width="200px"
        data-allowed-file-extensions="jpg png jpeg gif bmp" data-max-file-size-preview="2M"/>
</div>
amirgee007 commented 6 years ago

having the same issue...

just work for height not for width