I've got problem with css in VueJs. Sorry for poor description, but I have no idea what I'm doing wrong.
My css in style scoped works generally fine in vuejs, I can normally address idis and classes.
The problem is when I want to change for example value of internal css of an element of vuetify framework, or wysiwyg editor. I don't understand, because on codepen everything works fine. For example here I'm setting padding of wysiwig editor to 0 and it simply works (in codepen):
template:
<div class="container">
<div id="editor-container">
</div>
</div>
script
var quill = new Quill('#editor-container', {
modules: {
toolbar: [
[{ header: [1, 2, false] }],
['bold', 'italic', 'underline'],
['image', 'code-block']
]
},
placeholder: 'Compose the most wonderful and amazing epic you could ever imagine!',
theme: 'snow' // or 'bubble'
});
style
.ql-editor {
padding: 0!important;
}
On my vuejs SPA I'm pasting the exactly the same css code and it does nothing. I'm in the right component, adressing right element. In my console, when I'm doing inspect - I see properties of .q1-editor as padding 12px etc. So nothing is changing in my website :( I'm sorry for poor explanation - css is not my primary language.
Maybe someone who have more experience with css will have an idea what I'm doing wrong.