Skip to content

Is normalize.css required? #12133

@davidshen84

Description

@davidshen84

Bug, feature request, or proposal:

Maybe a bug.

What is the expected behavior?

When creating a material-nav component, the menu and the navigation bar should align correctly.

What is the current behavior?

There's a margin at the top of the title bar, but no margin at the top of the menu bar.

What are the steps to reproduce?

I asked a question at https://stackoverflow.com/questions/51258963/angular-material-navigation-bar-not-aligned/51259364?noredirect=1#comment89501187_51259364, and it was solved. But I think it might be a bug.

What is the use-case or motivation for changing an existing behavior?

Want to know if it is really a bug.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular CLI: 6.0.8
Node: 8.11.3
OS: win32 x64
Angular:
...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.6.8
@angular-devkit/core         0.6.8
@angular-devkit/schematics   0.6.8
@schematics/angular          0.6.8
@schematics/update           0.6.8
rxjs                         6.2.1
typescript                   2.7.2

Is there anything else we should know?

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