style notes
This commit is contained in:
parent
1d747cc77b
commit
bc2c5ffccb
6 changed files with 74 additions and 4 deletions
|
|
@ -40,9 +40,12 @@ export default class addPagesNotes extends Handler {
|
|||
let container = document.createElement('div');
|
||||
container.classList.add('container-note');
|
||||
notes.forEach(function (note, index) {
|
||||
container.appendChild(note);
|
||||
container.appendChild(note);
|
||||
note.style.position = "relative";
|
||||
note.style.height = "auto";
|
||||
if (note.getAttribute('data-counter-note') === '1') {
|
||||
container.classList.add('container-note-first');
|
||||
}
|
||||
});
|
||||
|
||||
let pageNum = parseInt(pageElement.getAttribute('data-page-number'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue