Skip to content

Commit

Permalink
Custom patches to deck (v3.14.2) in spinnaker 1.31.3 release
Browse files Browse the repository at this point in the history
fix word break in stage failure message box
  • Loading branch information
igcherkaev committed Oct 24, 2024
1 parent ab57406 commit a607f60
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,6 @@
"lint-staged": {
"packages/**/*.{js,jsx,ts,tsx}": "eslint --fix",
"packages/**/*.{js,jsx,ts,tsx,html,css,less}": "prettier --write"
}
},
"dependencies": {}
}
4 changes: 2 additions & 2 deletions packages/core/src/pipeline/details/StageFailureMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ export class StageFailureMessage extends React.Component<IStageFailureMessagePro
const exceptionTitle = isFailed ? (messages.length ? 'Exceptions' : 'Exception') : 'Warning';
const displayMessages =
message || !messages.length ? (
<Markdown message={message || StageFailureMessages.NO_REASON_PROVIDED} className="break-word" />
<Markdown message={message || StageFailureMessages.NO_REASON_PROVIDED} className="break-word-wrap" />
) : (
messages.map((m, i) => (
<Markdown key={i} message={m || StageFailureMessages.NO_REASON_PROVIDED} className="break-word" />
<Markdown key={i} message={m || StageFailureMessages.NO_REASON_PROVIDED} className="break-word-wrap" />
))
);

Expand Down
4 changes: 4 additions & 0 deletions packages/core/src/presentation/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
13 changes: 4 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a607f60

Please sign in to comment.