Skip to content

Fix mini gap

Due to a min-width CSS styling of default AppGini navbar, there is a (minimal) gap between last navbar-button and the right page margin:

Default (before)

Code

This gap can be removed using the following code:

1
AppGiniHelper.common.getNavbar().expand();

After

Tip

Tip: Use this in combination with .fix() function

1
2
3
AppGiniHelper.common.getNavbar()
.expand()
.fix();

See also