Created
June 18, 2022 01:32
-
-
Save gijigae/842ba7ac789b97bdada90567fa10779c to your computer and use it in GitHub Desktop.
Toggle the size of YouTube video player in Logseq
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* YouTube Video */ | |
iframe[id^='youtube-player'] { | |
height: 200px !important; | |
width: 400px !important; | |
} | |
div.ls-wide-mode iframe[id^='youtube-player'] { | |
height: 600px !important; | |
width: 100% !important; | |
} | |
/* YouTube Video */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After the last Logseq update we have to replace
div
withmain
, to make this code work: