I have a list of data elements that I am rendering in the following way:
<ul>
<li v-for="el in elements">
{{el.data}}
</li>
</ul>
Here's how I style it in my .css file:
ul {
list-style-type: none;
padding: 0;
}
li {
display: inline-block;
margin: 0 10px;
}
However, when I introduce a Select component from Element-UI, it changes the display property of my li element to list-item. I want to keep my list rendering as inline-block. What can I do to override the default styling applied by Element on the li elements?
Check out a working demo here: http://codepen.io/p-adams/pen/xRYoNw