我想更改DropzoneJS的高度,但它固定在1060 x 312像素上。
我试图更改CSS类但它没有用。此外,当我尝试使用jQuery来更改CSS时,没有任何反应。在Google Chrome开发者工具中,如果更改高度和宽度,它会自动更改回1060x312。
任何解决方案?
答案 0 :(得分:12)
将此css放在您的页面中,如..
<style>
.dropzone {
width: 100px;
height: 100px;
min-height: 0px !important;
}
</style>