From a607f60c9377a2e4e5676adfac80e40f7a5de662 Mon Sep 17 00:00:00 2001 From: Igor Cherkaev Date: Thu, 24 Oct 2024 11:57:50 -0500 Subject: [PATCH] Custom patches to deck (v3.14.2) in spinnaker 1.31.3 release fix word break in stage failure message box --- package.json | 3 ++- .../src/pipeline/details/StageFailureMessage.tsx | 4 ++-- packages/core/src/presentation/main.less | 4 ++++ yarn.lock | 13 ++++--------- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 7e441d25c02..b11a5c406d7 100644 --- a/package.json +++ b/package.json @@ -106,5 +106,6 @@ "lint-staged": { "packages/**/*.{js,jsx,ts,tsx}": "eslint --fix", "packages/**/*.{js,jsx,ts,tsx,html,css,less}": "prettier --write" - } + }, + "dependencies": {} } diff --git a/packages/core/src/pipeline/details/StageFailureMessage.tsx b/packages/core/src/pipeline/details/StageFailureMessage.tsx index 3368fd1c93c..d6dd6897718 100644 --- a/packages/core/src/pipeline/details/StageFailureMessage.tsx +++ b/packages/core/src/pipeline/details/StageFailureMessage.tsx @@ -80,10 +80,10 @@ export class StageFailureMessage extends React.Component + ) : ( messages.map((m, i) => ( - + )) ); diff --git a/packages/core/src/presentation/main.less b/packages/core/src/presentation/main.less index 0f0a458ee65..168fdd834eb 100644 --- a/packages/core/src/presentation/main.less +++ b/packages/core/src/presentation/main.less @@ -1468,6 +1468,10 @@ ul.checkmap { white-space: nowrap; } +.break-word-wrap { + overflow-wrap: break-word; +} + .horizontal-rule { border-top: 1px solid var(--color-alto); margin-top: 2px; diff --git a/yarn.lock b/yarn.lock index ff1723e3835..578140febf4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5823,15 +5823,10 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001248: - version "1.0.30001251" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001251.tgz#6853a606ec50893115db660f82c094d18f096d85" - integrity sha512-HOe1r+9VkU4TFmnU70z+r7OLmtR+/chB1rdcJUeQlAinjEeb0cKL20tlAtOagNZhbrtLnCvV19B4FmF1rgzl6A== - -caniuse-lite@^1.0.30001370, caniuse-lite@^1.0.30001373: - version "1.0.30001373" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001373.tgz#2dc3bc3bfcb5d5a929bec11300883040d7b4b4be" - integrity sha512-pJYArGHrPp3TUqQzFYRmP/lwJlj8RCbVe3Gd3eJQkAV8SAC6b19XS9BjMvRdvaS8RMkaTN8ZhoHP6S1y8zzwEQ== +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001248, caniuse-lite@^1.0.30001370, caniuse-lite@^1.0.30001373: + version "1.0.30001669" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001669.tgz" + integrity sha512-DlWzFDJqstqtIVx1zeSpIMLjunf5SmwOw0N2Ck/QSQdS8PLS4+9HrLaYei4w8BIAL7IB/UEDu889d8vhCTPA0w== capital-case@^1.0.4: version "1.0.4"