Hey,
you could update your base css file to include custom styling for your content lists.
To do that you could for example add a custom css class to your prepared body div like this:
<div class="mb-5 prepared-body">
{!! $article->prepared_body !!}
</div>
Then add a custom directive to your resources/css/app.css
file like this:
.prepared-body ul {
margin: 0.5rem 0rem;
list-style-type: disc;
}
Afterwards rebuild your app.css file using laravel mix (if that's what is used) and you're good to go.
mbeachmountain liked this reply
Thanks @tomhatzer for your solution. Also gave me some better understanding of how it works. Thanks
tomhatzer liked this reply
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community