@openmrs/esm-form-builder-app 3.4.2-pre.3412 → 3.4.2-pre.3415

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -162,7 +162,7 @@ const QuestionModalContent: React.FC<QuestionModalProps> = ({
162
162
  title={formFieldProp ? t('editQuestion', 'Edit question') : t('createNewQuestion', 'Create a new question')}
163
163
  />
164
164
  <Form className={styles.form} onSubmit={(event: React.SyntheticEvent) => event.preventDefault()}>
165
- <ModalBody>
165
+ <ModalBody hasScrollingContent>
166
166
  <FormGroup legendText="">
167
167
  <Stack gap={5}>
168
168
  <Question checkIfQuestionIdExists={checkIfQuestionIdExists} />
@@ -196,8 +196,8 @@ const QuestionModalContent: React.FC<QuestionModalProps> = ({
196
196
  </Accordion>
197
197
  )}
198
198
  {formField.type === 'obsGroup' && (
199
- <Button onClick={addObsGroupQuestion}>
200
- <span>{t('addObsGroupQuestion', 'Add a grouped question')}</span>
199
+ <Button kind="tertiary" size="sm" onClick={addObsGroupQuestion}>
200
+ {t('addObsGroupQuestion', 'Add a grouped question')}
201
201
  </Button>
202
202
  )}
203
203
  </Stack>
@@ -1,7 +1,7 @@
1
1
  @use '@carbon/layout';
2
2
 
3
3
  .form {
4
- overflow-y: scroll;
4
+ display: contents;
5
5
  }
6
6
 
7
7
  .obsGroupQuestionContent {