Skip to content

Commit

Permalink
Merge branch 'fix/per-rating-dropdown-position' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
tnagorra committed Dec 24, 2024
2 parents 72da8c9 + 9466c97 commit 235935f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,14 @@ function ComponentInput(props: Props) {
)}
key={component.id}
heading={getComponentTitle(component)}
childrenContainerClassName={styles.questionList}
headerDescription={component.description}
headingClassName={styles.heading}
withInternalPadding
withoutWrapInHeading
spacing="comfortable"
headingDescriptionContainerClassName={styles.statusSelectionContainer}
/>
>
{component.description}
</Container>
);
}

Expand All @@ -203,10 +203,10 @@ function ComponentInput(props: Props) {
className={_cs(styles.componentInput, className)}
key={component.id}
heading={getComponentTitle(component)}
childrenContainerClassName={styles.questionList}
withHeaderBorder
headerDescription={component.description}
headingDescriptionContainerClassName={styles.statusSelectionContainer}
headingClassName={styles.heading}
headingContainerClassName={styles.headingContainer}
headingDescription={(
<SelectInput
readOnly={readOnly}
Expand All @@ -227,7 +227,7 @@ function ComponentInput(props: Props) {
showExpandButtonAtBottom
initiallyExpanded
contentViewType="vertical"
spacing="relaxed"
spacing="comfortable"
>
<NonFieldError error={error} />
<NonFieldError error={questionInputError} />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
.component-input {
.heading-container {
@media screen and (max-width: 50rem) {
flex-wrap: wrap;
}
}

.heading {
flex-grow: 1;
}

.status-selection-container {
display: flex;

.status-selection {
width: 20rem;
}
.status-selection {
width: 100%;
max-width: 20rem;
}

.description {
Expand Down

0 comments on commit 235935f

Please sign in to comment.