File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed
packages/compass-editor/src Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,12 @@ const actionsContainerStyle = css({
2424 pointerEvents : 'none' ,
2525} ) ;
2626
27+ const expandContainerStyle = css ( {
28+ position : 'relative' ,
29+ top : - spacing [ 100 ] ,
30+ left : - spacing [ 100 ] ,
31+ } ) ;
32+
2733const actionsGroupItemSeparator = css ( {
2834 flex : '1 0 auto' ,
2935 pointerEvents : 'none' ,
@@ -47,12 +53,14 @@ export const ActionsContainer = ({
4753 ) }
4854 >
4955 { onExpand && (
50- < ActionButton
51- label = { expanded ? 'Collapse all' : 'Expand all' }
52- icon = { expanded ? 'CaretDown' : 'CaretRight' }
53- onClick = { onExpand }
54- compact
55- />
56+ < div className = { expandContainerStyle } >
57+ < ActionButton
58+ label = { expanded ? 'Collapse all' : 'Expand all' }
59+ icon = { expanded ? 'CaretDown' : 'CaretRight' }
60+ onClick = { onExpand }
61+ compact
62+ />
63+ </ div >
5664 ) }
5765 < span className = { actionsGroupItemSeparator } > </ span >
5866 { copyable && (
You can’t perform that action at this time.
0 commit comments