Skip to content

Commit 54db631

Browse files
committed
fixup! ✨(frontend) make summary button fixed to remain visible during scroll
1 parent 9d75b61 commit 54db631

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ export const TableContent = () => {
108108
$align="center"
109109
$padding={isHover ? 'xs' : '0'}
110110
$justify="center"
111-
$position="fixed"
111+
$position="sticky"
112112
aria-label={t('Summary')}
113113
$css={css`
114-
right: 30px;
114+
top: 0;
115115
border: 1px solid ${colorsTokens['greyscale-300']};
116116
overflow: hidden;
117117
border-radius: ${spacingsTokens['3xs']};

0 commit comments

Comments
 (0)