Tailwind help

I use Tailwind and would like to display the 2 Li elements next to each other with a small distance can someone help me with this=?
<div class="bg-[#000000]">
<ol class="text-center">
<li>
<svg class="mr-2 h-4 w-4 sm:mx-auto sm:mb-2 sm:h-6 sm:w-6" fill="currentColor" viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z"
clip-rule="evenodd">
</path>
</svg>
<p class""">
Account details
</p>
</li>
</ol>
</div>
<div class="bg-[#000000]">
<ol class="text-center">
<li>
<svg class="mr-2 h-4 w-4 sm:mx-auto sm:mb-2 sm:h-6 sm:w-6" fill="currentColor" viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z"
clip-rule="evenodd">
</path>
</svg>
<p class""">
Account details
</p>
</li>
</ol>
</div>
1 Reply
Jochem
Jochem•3mo ago
change the P to a span and set the svg to display: inline-block;