[Editor] Make scrollable the area containing the comments in the sidebar

This commit is contained in:
Calixte Denizet 2025-08-31 23:21:19 +02:00
parent c8d49db624
commit dd4b475109
2 changed files with 104 additions and 97 deletions

View File

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

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> <span data-l10n-id="pdfjs-editor-comments-sidebar-close-button-label"></span>
</button> </button>
</div> </div>
<div id="editorCommentsSidebarListContainer">
<ul id="editorCommentsSidebarList"></ul> <ul id="editorCommentsSidebarList"></ul>
</div> </div>
</div> </div>
</div> </div>
</div>
<div id="editorSignature" class="toolbarButtonWithContainer" hidden="true"> <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"> <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> <span data-l10n-id="pdfjs-editor-signature-button-label"></span>