I'm facing an issue where text in a list item is being pushed to the line below the bullet point. I want the text to fill the first line with the bullet before wrapping to the next line without using list-style-position: outside. Here is my CSS:
.list-item {
display: list-item;
background-color: gray;
width: 100px;
list-style-position: inside;
overflow-wrap: break-word;
}
Here is how I am trying to apply it:
<div class="list-item">
testlonglistitemtext
</div>