Skip to content

Commit 5ec90b8

Browse files
committed
✨(frontend) make summary button fixed to remain visible during scroll
ensures persistent access to table of contents by fixing button position Signed-off-by: Cyril <c.gromoff@gmail.com>
1 parent 6314cb3 commit 5ec90b8

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ and this project adheres to
1818
- ♿(frontend) add focus trap and enter key support to remove doc modal #1531
1919
- 🐛(docx) fix image overflow by limiting width to 600px during export #1525
2020
- 🐛(frontend) preserve @ character when esc is pressed after typing it #1512
21+
- 🐛(frontend) make summary button fixed to remain visible during scroll #1581
2122
- 🐛(frontend) fix pdf embed to use full width #1526
2223

2324
## [3.9.0] - 2025-11-10

src/frontend/apps/impress/src/features/docs/doc-editor/components/DocEditor.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ export const DocEditor = ({ doc }: DocEditorProps) => {
9999
<>
100100
{isDesktop && (
101101
<Box
102+
$height="100vh"
102103
$position="absolute"
103104
$css={css`
104105
top: 72px;

src/frontend/apps/impress/src/features/docs/doc-table-content/components/TableContent.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,10 @@ export const TableContent = () => {
108108
$align="center"
109109
$padding={isHover ? 'xs' : '0'}
110110
$justify="center"
111-
$position="relative"
111+
$position="sticky"
112112
aria-label={t('Summary')}
113113
$css={css`
114+
top: 0;
114115
border: 1px solid ${colorsTokens['greyscale-300']};
115116
overflow: hidden;
116117
border-radius: ${spacingsTokens['3xs']};

0 commit comments

Comments
 (0)