Keep QWord ribbon above document viewport
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user