1

enter image description here

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?

Wang-Zhao-Liu Q
  • 13,555
  • 29
  • 73
  • 112

0 Answers0