I have a header with buttons Profile
, Train AI
, Matches
, Chat Icon
and you can see in the above example my Name 1
element & others are going under the header. My CSS for my header is:
<Header
style={{
background: colorTheme.text8Color,
position: 'fixed',
zIndex: 1, // make every display under the header
width: '100%'
}}
>
{this.renderHeaderButtons()}
</Header>
What can I do to prevent anything from going under the header?