From 5f5bbf274f775c7226f779a62e5feeedca274622 Mon Sep 17 00:00:00 2001 From: Oliwia Gowor Date: Fri, 25 Apr 2025 13:40:49 +0200 Subject: [PATCH 1/2] fix: columns widths --- src/shared/components/GenericList/GenericList.scss | 4 ++++ src/shared/components/GenericList/components.js | 2 +- .../ProgressIndicatorWithPercentage.js | 4 +++- .../ProgressIndicatorWithPercentage.scss | 3 +++ src/shared/components/Tooltip/Tooltip.js | 2 ++ 5 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/shared/components/GenericList/GenericList.scss b/src/shared/components/GenericList/GenericList.scss index c8c7257f22..4879acbae2 100644 --- a/src/shared/components/GenericList/GenericList.scss +++ b/src/shared/components/GenericList/GenericList.scss @@ -19,6 +19,10 @@ border-bottom: var(--sapList_BorderWidth) solid var(--sapList_SelectionBorderColor); } + + ui5-table-cell { + width: 100%; + } } .cursor-pointer { diff --git a/src/shared/components/GenericList/components.js b/src/shared/components/GenericList/components.js index 2b0c902856..58b5500555 100644 --- a/src/shared/components/GenericList/components.js +++ b/src/shared/components/GenericList/components.js @@ -150,7 +150,7 @@ const DefaultRowRenderer = ({ } }); const actionsCell = ( - + ); diff --git a/src/shared/components/ProgressIndicatorWithPercentage/ProgressIndicatorWithPercentage.js b/src/shared/components/ProgressIndicatorWithPercentage/ProgressIndicatorWithPercentage.js index 61859cd6ce..dce5e84f63 100644 --- a/src/shared/components/ProgressIndicatorWithPercentage/ProgressIndicatorWithPercentage.js +++ b/src/shared/components/ProgressIndicatorWithPercentage/ProgressIndicatorWithPercentage.js @@ -32,8 +32,10 @@ export const ProgressIndicatorWithPercentage = ({ } }; + const tooltipProps = { ...tooltip, style: { width: '100%' } }; + return ( - +
{rightTitle && (

diff --git a/src/shared/components/ProgressIndicatorWithPercentage/ProgressIndicatorWithPercentage.scss b/src/shared/components/ProgressIndicatorWithPercentage/ProgressIndicatorWithPercentage.scss index 51baa7d68e..c94e29d372 100644 --- a/src/shared/components/ProgressIndicatorWithPercentage/ProgressIndicatorWithPercentage.scss +++ b/src/shared/components/ProgressIndicatorWithPercentage/ProgressIndicatorWithPercentage.scss @@ -1,4 +1,7 @@ .progress-indicator-percentage { + width: 100%; + min-width: 6rem; + &__percents { text-align: end; position: relative; diff --git a/src/shared/components/Tooltip/Tooltip.js b/src/shared/components/Tooltip/Tooltip.js index aface391c1..4d2762e5e9 100644 --- a/src/shared/components/Tooltip/Tooltip.js +++ b/src/shared/components/Tooltip/Tooltip.js @@ -12,6 +12,7 @@ export const Tooltip = ({ trigger = 'mouseenter', tippyProps, delay = [200, 0], + style, }) => { return ( {children} From 6c21871070cca4f3d2c3681d90f46b5bec02fe72 Mon Sep 17 00:00:00 2001 From: Oliwia Gowor Date: Mon, 28 Apr 2025 12:22:24 +0200 Subject: [PATCH 2/2] fix job test --- tests/integration/tests/namespace/test-jobs.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration/tests/namespace/test-jobs.spec.js b/tests/integration/tests/namespace/test-jobs.spec.js index 376bdaf2bf..a84cc8e244 100644 --- a/tests/integration/tests/namespace/test-jobs.spec.js +++ b/tests/integration/tests/namespace/test-jobs.spec.js @@ -167,6 +167,7 @@ context('Test Jobs', () => { .find('input') .filterWithNoValue() .first() + .click() .type('b', { force: true }); cy.saveChanges('Edit');