Innologica / vue-dropdown-menu

Dropdown menu component for Vue
https://innologica.github.io/vue-dropdown-menu/
MIT License
83 stars 16 forks source link

Styles ... ? #32

Closed vidyakin closed 1 year ago

vidyakin commented 2 years ago

I don't see any styles inside the component, where is the .scss file which is loaded in your example? I installed your component and see my menu unstyled, what I do wrong?

AustinThornley commented 1 year ago

I don't see any CSS in the Vue component or anywhere else, but you should be able to style using :v-deep.

https://stackoverflow.com/questions/48032006/how-do-i-use-deep-or-or-v-deep-in-vue-js

nkostadinov commented 1 year ago

The component uses bootstrap dropdown styles to open and position itself. You can override and write any css you want outside of the component or you can use v-deep if you dont want to leak the styles outside as @AustinThornley suggested.