Skip to content

Commit 8ac7b98

Browse files
b0aseclaude
andcommitted
More aggressive fix for persistent white artifact
- Moved sidebar top position from 72px to 70px for overlap - Added margin:0 and padding:0 to prevent spacing issues - Removed border-top that could create visual gaps - Extended overlay div to start at -10px and height 80px for more coverage - These changes should eliminate any remaining white space gaps 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent f6b00bd commit 8ac7b98

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/components/DevSidebar.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.dev-sidebar {
33
position: fixed;
44
left: 0;
5-
top: 72px; /* Below taskbar (32px) and PoC banner (40px) */
5+
top: 70px; /* Slightly higher to overlap any white gap */
66
bottom: 0;
77
width: 260px;
88
background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
@@ -12,6 +12,11 @@
1212
transition: width 0.3s ease;
1313
z-index: 9989; /* Below taskbar (10000) and PoC banner (9999) */
1414
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
15+
/* Force no margin/padding that could create white space */
16+
margin: 0 !important;
17+
padding: 0 !important;
18+
/* Ensure complete coverage */
19+
border-top: none !important;
1520
}
1621

1722
/* Comprehensive fix for white background artifacts */

src/components/DevSidebar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ const DevSidebar: React.FC = () => {
7272
{/* Absolute overlay to cover any white artifacts */}
7373
<div style={{
7474
position: 'absolute',
75-
top: 0,
75+
top: '-10px',
7676
left: 0,
7777
right: 0,
78-
height: '50px',
78+
height: '80px',
7979
background: 'linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%)',
8080
zIndex: 1,
8181
pointerEvents: 'none'

0 commit comments

Comments
 (0)