Skip to content

Commit 779abe8

Browse files
authored
Merge pull request #2588 from devtron-labs/fix/cm-cs-editor
fix: update ConfigMapSecretData to use CodeEditor.Container for improved layout
2 parents aea41e4 + 18078df commit 779abe8

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"homepage": "/dashboard",
66
"dependencies": {
7-
"@devtron-labs/devtron-fe-common-lib": "1.9.0-patch-3",
7+
"@devtron-labs/devtron-fe-common-lib": "1.9.0-patch-4",
88
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
99
"@rjsf/core": "^5.13.3",
1010
"@rjsf/utils": "^5.13.3",

src/Pages/Shared/ConfigMapSecret/ConfigMapSecretData.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ export const ConfigMapSecretData = ({
294294
})
295295

296296
return (
297-
<div className="dc__border br-4 dc__overflow-hidden">
297+
<CodeEditor.Container overflowHidden>
298298
<CodeEditor
299299
key={codeEditorRadio}
300300
mode={MODES.YAML}
@@ -351,7 +351,7 @@ export const ConfigMapSecretData = ({
351351
)}
352352
</CodeEditor>
353353
{!data.external && data.yamlMode && renderYamlInfoText()}
354-
</div>
354+
</CodeEditor.Container>
355355
)
356356
}
357357

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,10 +1105,10 @@
11051105
dependencies:
11061106
"@jridgewell/trace-mapping" "0.3.9"
11071107

1108-
"@devtron-labs/[email protected]3":
1109-
version "1.9.0-patch-3"
1110-
resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.9.0-patch-3.tgz#3907ae6db27d467244c5b8700a699a2c9edf7fc1"
1111-
integrity sha512-6ncIxUuWdfeT/jzaPeYv/oFU9gV6YC0pC6PsENvBrqcJsvqNZeDVyCOVf9u2Hcbt0LR6l13r1KpGz+pUXD/Nlg==
1108+
"@devtron-labs/[email protected]4":
1109+
version "1.9.0-patch-4"
1110+
resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.9.0-patch-4.tgz#a78f334ec87ac2e3145d7445212ec8539e76aca3"
1111+
integrity sha512-kwzpaiNXRC0Q8A3uRaeeCQIexJ7Vn2Hxxww9NwaDOjyD1NBinP/k3wFsNwe5Wwb7CsONwLAK0M0Jsm0zOgiBvQ==
11121112
dependencies:
11131113
"@codemirror/lang-json" "6.0.1"
11141114
"@codemirror/lang-yaml" "6.1.2"

0 commit comments

Comments
 (0)