Skip to content

Commit

Permalink
fix: patternfly upgrade issues (#1968)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleixhub authored Jun 18, 2024
1 parent 80908f8 commit 5a81a28
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions catalog/ui/src/app/Catalog/catalog-item-form.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
margin: var(--pf-v5-global--spacer--lg) 0;
}

.catalog-item-form__form .purpose-select {
min-width: var(--babylon-form-width);
}

.catalog-item-form.pf-v5-c-page__main-section .pf-v5-c-title {
margin-top: var(--pf-v5-global--spacer--md);
}
Expand Down
2 changes: 1 addition & 1 deletion catalog/ui/src/app/components/ActivityPurposeSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const ActivityPurposeSelector: React.FC<{
</FormGroup>
<FormGroup fieldId="purpose" isRequired label="Purpose">
<div className="catalog-item-form__group-control--single">
<div className="select-wrapper">
<div className="select-wrapper purpose-select">
<Select
aria-label="Purpose"
isOpen={isOpen}
Expand Down
2 changes: 1 addition & 1 deletion catalog/ui/src/app/components/DateTimePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ const DateTimePicker: React.FC<{
<DropdownToggle
aria-label="Toggle the time picker menu"
toggleIndicator={null}
onToggle={(_event, value: boolean) => onToggleTime(value, null)}
onToggle={(_event, value: boolean) => onToggleTime(value, _event)}
style={{ padding: '6px 16px', ...(isDisabled ? { color: 'var(--pf-v5-global--disabled-color--100)' } : {}) }}
isDisabled={isDisabled}
>
Expand Down

0 comments on commit 5a81a28

Please sign in to comment.