fix(editor): modals above the agent side panel (z 8000 -> 9000)
With the agent panel open, the library/install/verification modals were partially covered on the right, hiding the close button and actions.
This commit is contained in:
parent
cbd116ce19
commit
fe8ac7e4e3
|
|
@ -78,7 +78,8 @@ const styles: Record<string, React.CSSProperties> = {
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
zIndex: 1000,
|
// Above the agent side panel (z 8000): a modal is always the top task.
|
||||||
|
zIndex: 9000,
|
||||||
},
|
},
|
||||||
modal: {
|
modal: {
|
||||||
background: '#252526',
|
background: '#252526',
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,8 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
z-index: 1100;
|
/* Above the agent side panel (z 8000): a modal is always the top task. */
|
||||||
|
z-index: 9000;
|
||||||
backdrop-filter: blur(4px);
|
backdrop-filter: blur(4px);
|
||||||
animation: ilib-fadeIn 0.15s ease;
|
animation: ilib-fadeIn 0.15s ease;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,8 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
z-index: 1000;
|
/* Above the agent side panel (z 8000): a modal is always the top task. */
|
||||||
|
z-index: 9000;
|
||||||
backdrop-filter: blur(4px);
|
backdrop-filter: blur(4px);
|
||||||
animation: lib-fadeIn 0.15s ease;
|
animation: lib-fadeIn 0.15s ease;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue