Keep QWord ribbon above document viewport

This commit is contained in:
Курнат Андрей
2026-06-02 09:19:05 +03:00
parent ddb04c32a4
commit c72e78ac82
3 changed files with 52 additions and 3 deletions
+3 -3
View File
@@ -686,8 +686,7 @@ export function QWord({ document, zoom = 100, onChange, onStatusChange }: QWordP
return (
<div className="editor-layout qword-layout">
<section ref={stageRef} className={stageClassName} style={stageStyle} onScroll={refreshPageView} aria-label="Редактор QWord">
<div className="module-toolbar word-module-toolbar">
<div className="module-toolbar word-module-toolbar">
<input
ref={fileInputRef}
className="hidden-file-input"
@@ -984,8 +983,9 @@ export function QWord({ document, zoom = 100, onChange, onStatusChange }: QWordP
</section>
) : null}
</div>
</div>
</div>
<section ref={stageRef} className={stageClassName} style={stageStyle} onScroll={refreshPageView} aria-label="Редактор QWord">
<div className="page-ruler" aria-hidden="true">
{Array.from({ length: 9 }, (_, index) => (
<span key={index}>{index + 1}</span>