diff --git a/projects/common/ui-elements/cloze/cloze.component.ts b/projects/common/ui-elements/cloze/cloze.component.ts index 092a6dcde40916d0cdeddf89da2f32be53a8b60f..19b4af7dbc57d87541c778cf2262116f675f4782 100644 --- a/projects/common/ui-elements/cloze/cloze.component.ts +++ b/projects/common/ui-elements/cloze/cloze.component.ts @@ -82,6 +82,7 @@ import { FormElementComponent } from '../../directives/form-element-component.di ':host ::ng-deep app-text-field .mat-form-field {height: 100%}', ':host ::ng-deep app-text-field .mat-form-field-flex {height: 100%}', 'p {margin: 0}' + 'p span {font-size: inherit}' ] }) export class ClozeComponent extends CompoundElementComponent { diff --git a/projects/common/ui-elements/drop-list-simple/drop-list-simple.component.ts b/projects/common/ui-elements/drop-list-simple/drop-list-simple.component.ts index dd00d7b5c3cb19167131bb12070c418931c2f377..807b1d36e1e091a6de63cef12932d668a21ee090 100644 --- a/projects/common/ui-elements/drop-list-simple/drop-list-simple.component.ts +++ b/projects/common/ui-elements/drop-list-simple/drop-list-simple.component.ts @@ -53,7 +53,7 @@ import { DragNDropValueObject } from '../../models/uI-element'; styles: [ '.list-container {display: flex; flex-direction: column; width: 100%; height: 100%;}', '.list {width: 100%; height: 100%; border-radius: 5px}', - '.item {border-radius: 5px; padding: 0 5px; height: 100%}', + '.item {border-radius: 5px; padding: 0 5px; height: 100%; text-align: center;}', '.item:not(:last-child) {margin-bottom: 5px;}', '.error-message {font-size: 75%; margin-top: 10px;}', '.cdk-drag-preview {padding: 8px 20px; border-radius: 10px}',