-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slide toggle not centered when no text/label #6868
Comments
devversion
added a commit
to devversion/material2
that referenced
this issue
Sep 6, 2017
* Removes the side-margin of the actual indicator of the slide-toggle if the user label is empty (similar as in angular#4730) Fixes angular#6868
devversion
added a commit
to devversion/material2
that referenced
this issue
Sep 7, 2017
* Removes the side-margin of the actual indicator of the slide-toggle if the user label is empty (similar as in angular#4730) Fixes angular#6868
devversion
added a commit
to devversion/material2
that referenced
this issue
Sep 7, 2017
* Removes the side-margin of the actual indicator of the slide-toggle if the user label is empty (similar as in angular#4730) Fixes angular#6868
mmalerba
pushed a commit
that referenced
this issue
Sep 12, 2017
josephperrott
pushed a commit
to josephperrott/components
that referenced
this issue
Sep 15, 2017
…ngular#6881) * Removes the side-margin of the actual indicator of the slide-toggle if the user label is empty (similar as in angular#4730) Fixes angular#6868
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug, feature request, or proposal:
Bug/improvement
What is the expected behavior?
Slide toggle to be centered when no text/label
What is the current behavior?
Slide toggle not centered when no text/label
What are the steps to reproduce?
What is the use-case or motivation for changing an existing behavior?
.mat-slide-toggle-label{
height: inherit;
}
If no content/text/label:
.mat-slide-toggle-bar{
margin-right: 0;
}
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
beta10
Is there anything else we should know?
Maybe have *ngIf on .mat-slide-toggle-content and margin-left on it.
The text was updated successfully, but these errors were encountered: