So I've tried looking up similar issues other people were having with using flex-end with justify-content, but none of the solutions seem to work for me. I'm a bit new to developing website and I'm still learning the basics I guess.
I want to avoid just adding margin-left and adding a bunch of media queries because I guess it doesn't feel right?
EDIT: Sorry I should of been more specific with what I wanted. I basically want the MC# and the "talk to us" all the way at the end of the header. This is what it currently looks like website
Blockquote
JSX
<header className={headerStyles.header}>
<nav>
<ul className={headerStyles.navList}>
<li>
<Link className={headerStyles.title} to="/">
{data.site.siteMetadata.title}
</Link>
</li>
<li>
<Link className={headerStyles.navItem} activeClassName={headerStyles.activeNavItem} to="/">Home</Link>
</li><br />
<li>
<Link className={headerStyles.navItem} activeClassName={headerStyles.activeNavItem} to="/blog">Blog</Link>
</li><br />
<li>
<Link className={headerStyles.navItem} activeClassName={headerStyles.activeNavItem} to="/about">About</Link>
</li><br />
<li>
<Link className={headerStyles.navItem} activeClassName={headerStyles.activeNavItem} to="/contact">Contact</Link>
</li>
<li className={headerStyles.mcNum}>
<p>MC# 1322334</p>
<p className={headerStyles.vline}>Talk To Us!<br /> <a href="tel:800-888-8888">800-888-8888</a></p>
</li>
</ul>
</nav>
CSS
.header {
position: fixed;
padding: .5rem 5rem 0rem;
background: white;
box-shadow: 0px 4px 8px -4px rgba(0,0,0,0.3);
z-index: 500;
width: 100%;
display: flex;
align-items: stretch;
height: auto;
}
.title {
color: black;
font-size: 1.5rem;
text-decoration: none;
margin-right: 5rem;
float: left;
display: table-cell;
vertical-align: middle;
white-space: nowrap;
font-family: 'Lato', sans-serif;
}
.nav-list {
display: flex;
align-items: center;
list-style-type: none;
margin: 0;
font-weight: 700;
font-family: 'Lato', sans-serif;
}
.nav-item{
color: black;
font-size: 1.1rem;
font-weight: 400;
font-family: 'Lato', sans-serif;
margin-right: 2.2rem;
text-decoration: none;
}
.mcNum {
display: flex;
align-items: center;
justify-items: flex-end;
white-space: nowrap;
}