Closed MuhaddiMu closed 5 years ago
I have the same problem, using bootstrap 3.3.6
I fixed it by adding a class to the element and adding this class afterwards in te component like this : ` <customer-upload-light-box :visible="visible" :imgs="image" @hide="hideImage" class="force-display"
and like this :
`
The .vue component would look like :
`
`
Thanks alot @GreenLeewayDesignCastle It's working now. 💯
I didn't use Bootstrap. It's there any demos?
Should i add display:block
to component's root element?
(I'm sorry for viewing issues too late
Hey @XiongAmao Here's the simple project I am working on if you can take a look: https://github.com/MuhaddiMu/VueGallery
Yeah i'll suggest to add display:block
to the root element to avoid design issues later on.
Thx guys ! @MuhaddiMu @GreenLeewayDesignCastle I fixed it https://github.com/XiongAmao/vue-easy-lightbox/commit/a6ec2458c66f53a3bf70cc470e5a48ad757c1381 & release 0.3.11
I'm not sure why it's not working with Bootstrap.
When I remove
import ('Bootstrap.css)
its working fine while my custom stylesheet still there.Any help would be much appreciated
Thanks