File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
src/frontend/apps/impress/src/features Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -116,9 +116,11 @@ export const DocSubPageItem = (props: TreeViewNodeProps<Doc>) => {
116
116
? 'var(--c--theme--colors--greyscale-100)'
117
117
: 'var(--c--theme--colors--greyscale-000)' } ;
118
118
.light-doc-item-actions {
119
- display : ${ menuOpen || ! isDesktop ? ' flex' : 'none' } ;
120
- position : absolute ;
119
+ display : flex;
120
+ position : sticky ;
121
121
right : 0 ;
122
+
123
+ opacity : ${ menuOpen || ! isDesktop ? '1' : '0' } ;
122
124
background : ${ isDesktop
123
125
? 'var(--c--theme--colors--greyscale-100)'
124
126
: 'var(--c--theme--colors--greyscale-000)' } ;
@@ -137,7 +139,7 @@ export const DocSubPageItem = (props: TreeViewNodeProps<Doc>) => {
137
139
background-color : var (--c--theme--colors--greyscale-100 );
138
140
border-radius : 4px ;
139
141
.light-doc-item-actions {
140
- display : flex ;
142
+ opacity : 1 ;
141
143
background : var (--c--theme--colors--greyscale-100 );
142
144
}
143
145
}
Original file line number Diff line number Diff line change @@ -184,6 +184,7 @@ export const DocTree = ({ currentDoc }: DocTreeProps) => {
184
184
/* Remove outline from TreeViewItem wrapper elements */
185
185
.c__tree-view--row {
186
186
outline : none !important ;
187
+ min-width : max-content;
187
188
188
189
& : focus-visible {
189
190
outline : none !important ;
@@ -195,7 +196,7 @@ export const DocTree = ({ currentDoc }: DocTreeProps) => {
195
196
margin-top : -10px ;
196
197
197
198
.c__tree-view {
198
- overflow : hidden !important ;
199
+ overflow : visible !important ;
199
200
}
200
201
}
201
202
` }
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export const LeftPanelDocContent = () => {
17
17
< Box
18
18
$flex = { 1 }
19
19
$width = "100%"
20
- $css = "width: 100%; overflow-y: auto; overflow-x: hidden; "
20
+ $css = "width: 100%; overflow-y: auto"
21
21
className = "--docs--left-panel-doc-content"
22
22
>
23
23
< DocTree currentDoc = { currentDoc } />
You can’t perform that action at this time.
0 commit comments