Skip to content

Commit 6d49207

Browse files
committed
fixup! ✨(frontend) add resizable left panel on desktop with persistence
1 parent fedd482 commit 6d49207

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/frontend/apps/impress/src/features/docs/doc-tree/components/DocSubPageItem.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ export const DocSubPageItem = (props: TreeViewNodeProps<Doc>) => {
161161
aria-label={`${t('Open document {{title}}', { title: docTitle })}`}
162162
$css={css`
163163
text-align: left;
164+
min-width: 0;
164165
`}
165166
>
166167
<Box $width="16px" $height="16px">
@@ -174,8 +175,10 @@ export const DocSubPageItem = (props: TreeViewNodeProps<Doc>) => {
174175
display: flex;
175176
flex-direction: row;
176177
width: 100%;
178+
min-width: 0;
177179
gap: 0.5rem;
178180
align-items: center;
181+
overflow: hidden;
179182
`}
180183
>
181184
<Text $css={ItemTextCss} $size="sm" $variation="1000">

0 commit comments

Comments
 (0)