feature: embeds for Tidal

fix: iframe sizing
This commit is contained in:
Andy Burke 2025-07-24 18:34:44 -07:00
parent 0764bf6155
commit 241ab51fa9
4 changed files with 76 additions and 11 deletions

View file

@ -180,3 +180,34 @@
#talk .message-container .message-content-container {
padding-left: 8rem;
}
#talk .embed-container {
position: relative;
width: 100%;
max-width: 640px;
height: 0;
padding-bottom: 20%;
}
#talk .embed-container.short {
padding-bottom: 7.5%;
}
#talk .embed-container.letterbox {
padding-bottom: 33%;
}
#talk .embed-container.square {
padding-bottom: 50%;
}
#talk .embed-container iframe {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
border-style: none;
}