Skip to content

Commit 87fde4b

Browse files
committed
chore: info config fix
1 parent 597baf3 commit 87fde4b

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/components/ApplicationGroup/Details/EnvironmentOverview/RestartWorkloadModal.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,8 @@ export const RestartWorkloadModal = ({
456456
return (
457457
<div className="flexbox-col dc__overflow-auto">
458458
<InfoBlock
459-
borderConfig={{ top: false, left: false, right: false }}
459+
borderConfig={{ top: false, right: false, left: false }}
460+
borderRadiusConfig={{ top: false, right: false, bottom: false, left: false }}
460461
description={APP_DETAILS_TEXT.APP_GROUP_INFO_TEXT}
461462
/>
462463
{renderWorkloadTableHeader()}

src/components/ApplicationGroup/Details/TriggerView/BulkSourceChange.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const BulkSourceChange = ({
107107
const renderInfoBar = (): JSX.Element => (
108108
<InfoBlock
109109
variant="warning"
110-
borderRadiusConfig={{ top: false }}
110+
borderRadiusConfig={{ top: false, right: false, bottom: false, left: false }}
111111
borderConfig={{ top: false, left: false, right: false }}
112112
description="Branch will be changed only for build pipelines with source type as ‘Branch Fixed’ or ‘Branch Regex’."
113113
/>

src/components/ClusterNodes/NodeActions/EditTaintsModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
import { useState } from 'react'
17+
import { ReactNode, useState } from 'react'
1818
import {
1919
showError,
2020
Progressing,
@@ -45,7 +45,7 @@ import { EditTaintsModalType, EditTaintsRequest, EFFECT_TYPE, TaintErrorObj, Tai
4545
import { ValidationRules } from './validationRules'
4646
import { EDIT_TAINTS_MODAL_MESSAGING, TAINT_OPTIONS } from '../constants'
4747

48-
const TaintInfoMessage = (tippyContent) => {
48+
const TaintInfoMessage = ({ tippyContent }: { tippyContent: () => ReactNode }) => {
4949
return (
5050
<div className="fs-13 fw-4 lh-20">
5151
<span>{EDIT_TAINTS_MODAL_MESSAGING.infoText}</span> &nbsp;

0 commit comments

Comments
 (0)