I have a simple option button on my page:
<div class="privacy-check">
<input id="sidebar-ny" type="checkbox" name="ny" required>
By subscribing I accept this website's <a href="#tos">Terms of Service</a> and <a href="#privacy">Privacy Policy</a>.
</div>
When this renders on screen, the text spills over to the next line because its too long for the container, which is fine. My only concern is that it wraps around the checkbox itself and I want to prevent that from happening. Here's what it looks like right now:
Is there any way I could ensure there's no text wrapping below the checkbox? I tried wrapping the text in a span
with display set to inline-block
but that brings the whole text below the checkbox.