mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 14:49:32 +00:00
Simplify embed hover CSS with wrapper element
This commit is contained in:
parent
530437167e
commit
a00c6cc11d
3 changed files with 36 additions and 29 deletions
|
|
@ -1,5 +1,5 @@
|
|||
(function() {
|
||||
var embedElement = document.querySelector('.tweet-embed, .embed-video');
|
||||
var embedElement = document.querySelector('.embed-wrapper, .tweet-embed, .embed-video');
|
||||
if (!embedElement) return;
|
||||
|
||||
var lastHeight = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue