Skip to content

Cannot remove margin between very top and navbar #817

Answered by tianenpang
yvesbou asked this question in Help
Discussion options

You must be logged in to vote

Hi @yvesbou please check the maxWidth prop in the Navbar docs, when setting maxWidth to fluid the navbar will fill up the width of the screen.

For the gap at the top, check if it's caused by the parent element 🤔

Here's an example: codesandbox.io/s/nextui-discussion-817-fmp0sk

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@tianenpang
Comment options

@yvesbou
Comment options

@yvesbou
Comment options

@tianenpang
Comment options

@yvesbou
Comment options

Answer selected by yvesbou
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants