Skip to content

Commit fc1ea66

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 3d45c7c commit fc1ea66

File tree

1 file changed

+2
-1
lines changed
  • src/frontend/apps/impress/src/features/docs/doc-table-content/components

1 file changed

+2
-1
lines changed

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="fixed"
112112
aria-label={t('Summary')}
113113
$css={css`
114+
right: 30px;
114115
border: 1px solid ${colorsTokens['greyscale-300']};
115116
overflow: hidden;
116117
border-radius: ${spacingsTokens['3xs']};

0 commit comments

Comments
 (0)