Change notebook mode appearance
This commit is contained in:
parent
9ff6a538b6
commit
1c77fdca4c
5 changed files with 33 additions and 14 deletions
|
@ -11,7 +11,7 @@ let extensions = document.getElementById('extensions');
|
|||
main_parent.addEventListener('click', function(e) {
|
||||
// Check if the main element is visible
|
||||
if (main.offsetHeight > 0 && main.offsetWidth > 0) {
|
||||
extensions.style.display = 'block';
|
||||
extensions.style.display = 'flex';
|
||||
} else {
|
||||
extensions.style.display = 'none';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue