Skip to content

Commit

Permalink
Fix expanding text input spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccaalpert committed Dec 13, 2024
1 parent 48b9e05 commit 92f5129
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/FlyoutForm/ExpandingTextInputs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const ExpandingTextInputs: React.FunctionComponent<ExpandingTextInputsPro
</Button>
</div>
{values.length > 0 && (
<section aria-label="Example questions" tabIndex={-1}>
<section className="expanding-text-input__section" aria-label="Example questions" tabIndex={-1}>
{values.map((value, index) => {
return (
<div key={index} className="expanding-text-inputs__row expanding-text-input__row-with-background">
Expand Down
6 changes: 6 additions & 0 deletions src/app/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,12 @@ pf-v6-c-page__main-container.pf-m-fill {
position: relative;
}

.expanding-text-input__section {
display: flex;
gap: var(--pf-t--global--spacer--sm);
flex-direction: column;
}

.hidden {
position: absolute;
opacity: 0;
Expand Down

0 comments on commit 92f5129

Please sign in to comment.