The header is just meant to be a div that runs across the entire width of the page. The width value I am assuming is a bad practice (maybe should be 100%).
Going back to the question however, how can I get my icon to sit on the same line as the toolbar?
[off-topic]
Hi @gurdipsira when you post code in the forum, you need to format it. To do so you can either select all the code and click the </> button, or type 3 backticks ``` on a separate line both before and after the block of code.
A fixed width is usually bad, as it won’t be responsive to smaller screens. If you must set a width, use max-width instead. But because you want it full width, use width: auto instead of 100% as that will be full width while accounting for margins, padding, etc. Auto is the default width for block elements, so you probably don’t need to define it at all.