From cbbfbd33c68428df0019cecc0b2bf6daeec5a2b6 Mon Sep 17 00:00:00 2001 From: jojohoch <joachim.hoch@iqb.hu-berlin.de> Date: Thu, 16 Dec 2021 13:20:26 +0100 Subject: [PATCH] Revert "Remove empty clickable area behind radio button labels" This reverts commit 87534c5329ce696bdaa7fc804c50565c94ceafb0. --- docs/release-notes-player.txt | 1 - .../common/ui-elements/radio/radio-button-group.component.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/release-notes-player.txt b/docs/release-notes-player.txt index b7be4c348..08af1fe75 100644 --- a/docs/release-notes-player.txt +++ b/docs/release-notes-player.txt @@ -9,7 +9,6 @@ Player - Use z-index property for all elements - Fix the response status when re-entering the unit - Ignore blank pages when calculating the response progress -- Remove empty clickable area behind radio labels - Fix position of virtual keyboard for text areas - Rename marking tag of text to 'aspect-marked' - Restore the state of likert elements when re-entering a unit diff --git a/projects/common/ui-elements/radio/radio-button-group.component.ts b/projects/common/ui-elements/radio/radio-button-group.component.ts index 2be14c844..6a8ffc79d 100644 --- a/projects/common/ui-elements/radio/radio-button-group.component.ts +++ b/projects/common/ui-elements/radio/radio-button-group.component.ts @@ -40,7 +40,7 @@ import { RadioButtonGroupElement } from './radio-button-group-element'; </div> `, styles: [ - '::ng-deep app-radio-button-group .mat-radio-label {white-space: normal; width: auto; max-width: 100%;}', + '::ng-deep app-radio-button-group .mat-radio-label {white-space: normal}', '::ng-deep app-radio-button-group .mat-radio-label .mat-radio-label-content {padding-left: 10px}', 'mat-radio-button {margin-bottom: 6px; margin-right: 15px}', '.error-message { font-size: 75% }', -- GitLab