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:
@@ -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={{
|
||||
|
||||
Reference in New Issue
Block a user