Skip to content

MatSlideToggle without label is default styled such that it does not center correctly #8264

Closed
@Jaarx

Description

@Jaarx

Bug, feature request, or proposal:

Default CSS for MatSlideToggle doesn't keep it vertically centered if it doesn't have label text and if it's a child of a flex-displayed element.

What are the steps to reproduce?

http://plnkr.co/edit/QTqBwfPb4oZrqvvau8nI?p=preview

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions