Skip to content

Commit

Permalink
Update popup.js
Browse files Browse the repository at this point in the history
  • Loading branch information
huggla authored Mar 1, 2024
1 parent 1722672 commit 84751c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ function minimizePopup() {
const ocardtitle = document.getElementById('o-card-title');
oidentify.style.display = oidentify.style.display === 'none' ? 'block' : 'none';
opopup.style.width = oidentify.style.display === 'none' ? 'auto' : null;
opopup.style.height = oidentify.style.display === 'none' ? '78px' : '58px';
opopup.children[0].style.position = oidentify.style.display === 'none' ? null : 'sticky';
ocardtitle.style.display = oidentify.style.display === 'none' ? null : 'none';
opopup.style.height = oidentify.style.display === 'none' ? '58px' : '78px';
opopup.children[0].style.position = oidentify.style.display === 'none' ? 'sticky' : null;
ocardtitle.style.display = oidentify.style.display === 'none' ? 'none' : null;
}

/**
Expand Down

0 comments on commit 84751c0

Please sign in to comment.