Alerting: Fix width of the code editor for Alertmanager configurations (#113541)

fix width of the code editor for Alertmanager configurations
This commit is contained in:
Gilles De Mey
2025-11-07 11:15:18 +01:00
committed by GitHub
parent 36e28963d3
commit b4d2d1eaf5
@@ -165,11 +165,11 @@ export default function AlertmanagerConfig({ alertmanagerName, onDismiss, onSave
{isLoadingSuccessful && (
<div className={styles.content}>
<AutoSizer>
{({ height, width }) => (
<AutoSizer disableWidth>
{({ height }) => (
<CodeEditor
language="json"
width={width}
width="100%"
height={height}
showLineNumbers={true}
monacoOptions={{