Skip to content

Side menu dynamic size causes increased gap #89

@muratcorlu

Description

@muratcorlu

In smaller viewports, side menu goes thinner and this causes an increased gap between the page content and side menu.

Image

I think the easiest way to fix this is overriding Ionic's default 28% max-width definition (via SCSS variable) explicitly, like:

ion-split-pane {
  --side-max-width: var(--ios26-menu-width);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions