Skip to content
Snippets Groups Projects
Commit 1a4d1691 authored by rhenck's avatar rhenck
Browse files

Fix RadioButtonGroup alignment

The former solution was affecting the selection CSS of the button. Now 
the text is moved down instead.

#562
parent d40ab326
No related branches found
No related tags found
No related merge requests found
......@@ -51,8 +51,8 @@ import { FormElementComponent } from '../../directives/form-element-component.di
:host ::ng-deep mat-radio-button .mdc-form-field {
align-items: flex-start;
}
:host ::ng-deep mat-radio-button .mdc-form-field .mdc-radio {
padding-top: 0;
:host ::ng-deep mat-radio-button .mdc-form-field .mdc-label {
padding-top: calc((var(--mdc-radio-state-layer-size) - 20px) / 2);
}
:host ::ng-deep .mdc-form-field {
font-size: inherit;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment