File tree Expand file tree Collapse file tree 1 file changed +16
-12
lines changed
static/app/views/nav/secondary Expand file tree Collapse file tree 1 file changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,12 @@ export function SecondarySidebar() {
51
51
const activeNavGroup = activePrimaryNavGroup ?? defaultActiveNavGroup ;
52
52
53
53
return (
54
- < ResizeWrapper ref = { resizableContainerRef } onMouseDown = { handleStartResize } >
55
- < NavTourElement
56
- id = { stepId }
57
- description = { STACKED_NAVIGATION_TOUR_CONTENT [ stepId ] . description }
58
- title = { STACKED_NAVIGATION_TOUR_CONTENT [ stepId ] . title }
59
- >
54
+ < SecondarySidebarWrapper
55
+ id = { stepId }
56
+ description = { STACKED_NAVIGATION_TOUR_CONTENT [ stepId ] . description }
57
+ title = { STACKED_NAVIGATION_TOUR_CONTENT [ stepId ] . title }
58
+ >
59
+ < ResizeWrapper ref = { resizableContainerRef } onMouseDown = { handleStartResize } >
60
60
< AnimatePresence mode = "wait" initial = { false } >
61
61
< MotionDiv
62
62
key = { activeNavGroup }
@@ -77,19 +77,23 @@ export function SecondarySidebar() {
77
77
/>
78
78
</ MotionDiv >
79
79
</ AnimatePresence >
80
- </ NavTourElement >
81
- </ ResizeWrapper >
80
+ </ ResizeWrapper >
81
+ </ SecondarySidebarWrapper >
82
82
) ;
83
83
}
84
84
85
- const ResizeWrapper = styled ( 'div' ) `
86
- position: relative;
87
- right: 0;
85
+ const SecondarySidebarWrapper = styled ( NavTourElement ) `
86
+ background: ${ p => ( p . theme . isChonk ? p . theme . background : p . theme . surface200 ) } ;
88
87
border-right: 1px solid
89
88
${ p => ( p . theme . isChonk ? p . theme . border : p . theme . translucentGray200 ) } ;
90
- background: ${ p => ( p . theme . isChonk ? p . theme . background : p . theme . surface200 ) } ;
89
+ position: relative ;
91
90
z-index: ${ p => p . theme . zIndex . sidebarPanel } ;
92
91
height: 100%;
92
+ ` ;
93
+
94
+ const ResizeWrapper = styled ( 'div' ) `
95
+ right: 0;
96
+ height: 100%;
93
97
width: ${ SECONDARY_SIDEBAR_WIDTH } px;
94
98
` ;
95
99
You can’t perform that action at this time.
0 commit comments