I'm having trouble aligning these two text elements (h1 & p) vertically. It seems like the header is preventing the paragraph from moving to the left side.
https://i.sstatic.net/hmdip.png
.container .links h1 {
font-size: 20px;
float: right;
display: block;
overflow: hidden;
margin: -30px 0 0 0;
}
.container .links p {
font-size: 15px;
margin-left: 30px;
overflow: hidden;
right: 100px;
display: block;
margin: 30px 0 0 0;
}
<div class="links">
<div class="discord">
<img class="icon-discord" src="https://via.placeholder.com/100.jpg">
<h1>discord</h1>
<p>abcd#1234</p>
</div>
</div>