Merge pull request #20222 from calixteman/sidebar_scroll

[Editor] Make scrollable the area containing the comments in the sidebar
This commit is contained in:
Tim van der Meij 2025-09-01 20:28:35 +02:00 committed by GitHub
commit c386d9b87d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 104 additions and 97 deletions

View File

@ -480,6 +480,9 @@
}
}
#editorCommentsSidebarListContainer {
overflow: scroll;
#editorCommentsSidebarList {
display: flex;
width: auto;
@ -490,6 +493,7 @@
align-items: flex-start;
flex-direction: column;
list-style-type: none;
overflow: scroll;
.sidebarComment {
display: flex;
@ -593,4 +597,5 @@
}
}
}
}
}

View File

@ -260,10 +260,12 @@ See https://github.com/adobe-type-tools/cmap-resources
<span data-l10n-id="pdfjs-editor-comments-sidebar-close-button-label"></span>
</button>
</div>
<div id="editorCommentsSidebarListContainer">
<ul id="editorCommentsSidebarList"></ul>
</div>
</div>
</div>
</div>
<div id="editorSignature" class="toolbarButtonWithContainer" hidden="true">
<button id="editorSignatureButton" class="toolbarButton" type="button" tabindex="0" disabled="disabled" role="radio" aria-expanded="false" aria-haspopup="true" aria-controls="editorSignatureParamsToolbar" data-l10n-id="pdfjs-editor-signature-button">
<span data-l10n-id="pdfjs-editor-signature-button-label"></span>