fix: status bar & dev tools z-index issue (#5132)

This commit is contained in:
naman-bruno
2025-07-17 14:36:36 +05:30
committed by GitHub
parent d5cb051f19
commit 8e7bdc2bfd
3 changed files with 2 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ const StyledWrapper = styled.div`
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 16px;
padding: 0 16px;
background: ${(props) => props.theme.console.headerBg};
border-bottom: 1px solid ${(props) => props.theme.console.border};
flex-shrink: 0;

View File

@@ -66,7 +66,6 @@ const Devtools = ({ mainSectionRef }) => {
return (
<>
<div
className="devtools-resize-handle"
onMouseDown={handleDevtoolsResizeStart}
style={{
height: '4px',
@@ -79,7 +78,7 @@ const Devtools = ({ mainSectionRef }) => {
onMouseEnter={(e) => e.target.style.backgroundColor = '#0078d4'}
onMouseLeave={(e) => e.target.style.backgroundColor = isResizingDevtools ? '#0078d4' : 'transparent'}
/>
<div style={{ height: `${devtoolsHeight}px`, overflow: 'hidden', zIndex: 20, position: 'relative' }}>
<div style={{ height: `${devtoolsHeight}px`, overflow: 'hidden', position: 'relative' }}>
<Console />
</div>
</>

View File

@@ -13,14 +13,12 @@ const StyledWrapper = styled.div`
font-size: 12px;
user-select: none;
position: relative;
z-index: 15;
}
.status-bar-section {
display: flex;
align-items: center;
position: relative;
z-index: 1;
}
.status-bar-group {