Change notebook mode appearance

This commit is contained in:
oobabooga 2023-03-26 22:20:30 -03:00
parent 9ff6a538b6
commit 1c77fdca4c
5 changed files with 33 additions and 14 deletions

View file

@ -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';
}