-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(form): Improve vertical spacing for form
Currently, there's no much spacing between form fields for processors. This commit adds more spacing between them by enforcing the patternfly form spacing. fix: #618
- Loading branch information
Showing
3 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
packages/ui/src/components/Visualization/Canvas/CanvasForm.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
This is required since there's a div between the form | ||
element and its children that breaks the following styles | ||
- display: grid | ||
- gap: var(--pf-c-form--GridGap) | ||
from @patternfly and making the fields very close to | ||
each other | ||
*/ | ||
form[data-testid='autoform'] > div { | ||
display: inherit; | ||
gap: inherit; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters