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

Improve radio button group styling

Make radio button and first line of the label (in case there is a line 
break) appear at the same height.
parent 4eb7b469
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,9 @@ import { RadioButtonGroupElement } from '../models/radio-button-group-element'; ...@@ -45,7 +45,9 @@ import { RadioButtonGroupElement } from '../models/radio-button-group-element';
'::ng-deep app-radio-button-group mat-radio-button {margin-right: 15px}', '::ng-deep app-radio-button-group mat-radio-button {margin-right: 15px}',
'.white-space-break {white-space: normal}', '.white-space-break {white-space: normal}',
'.error-message { position: absolute; margin-top: 25px; font-size: 75% }', '.error-message { position: absolute; margin-top: 25px; font-size: 75% }',
'::ng-deep app-radio-button-group .strike .mat-radio-label {text-decoration: line-through}' '::ng-deep app-radio-button-group .strike .mat-radio-label {text-decoration: line-through}',
'::ng-deep app-radio-button-group mat-radio-button .mat-radio-label {align-items: unset}',
'::ng-deep app-radio-button-group mat-radio-button .mat-radio-label .mat-radio-container {margin-top: 1px}'
] ]
}) })
export class RadioButtonGroupComponent extends FormElementComponent { export class RadioButtonGroupComponent extends FormElementComponent {
......
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