[~] Refactor

This commit is contained in:
Siarhei Siniak 2024-08-11 23:37:47 +03:00
parent 4b93c33d66
commit 826aec8f3f

@ -145,7 +145,21 @@ class Linkedin {
display_init() {
let self = this;
self.ui.root = $(`<div class=online.fxreader.linkedin>`);
self.ui.root = $(`<div class=online-fxreader-linkedin>`);
$('head').append($('<style>').html(`
div.online-fxreader-linked {
height: 2em;
overflow: scroll;
z-index: 9999;
position: absolute;
top: 5em;
background: yellow;
margin-left: 1em;
word-wrap: anywhere;
white-space: break-spaces;
margin-right: 1em;
}
`));
$(document.body).append(self.ui.root);
}