feature: improve youtube short embeds
This commit is contained in:
parent
8deca841f6
commit
7a906b4bce
2 changed files with 15 additions and 4 deletions
|
@ -213,11 +213,18 @@
|
|||
padding-bottom: 7.5%;
|
||||
}
|
||||
|
||||
#talk .embed-container.vertical {
|
||||
max-width: 320px;
|
||||
overflow: hidden;
|
||||
aspect-ratio: 9 / 16 !important;
|
||||
}
|
||||
|
||||
#talk .embed-container.letterbox {
|
||||
height: 0;
|
||||
/* height: 0; */
|
||||
overflow: hidden;
|
||||
overflow-y: auto;
|
||||
padding-bottom: 33%;
|
||||
/* padding-bottom: 33%; */
|
||||
aspect-ratio: 16 / 9 !important;
|
||||
}
|
||||
|
||||
#talk .embed-container.square {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue