perf: Improve performance of the carousel auto-height functionality (#2094)

This commit is contained in:
Dermot Duffy
2025-06-08 15:05:40 -07:00
committed by GitHub
parent 70f1d5fc8e
commit 2b92f84665
14 changed files with 316 additions and 488 deletions
+5
View File
@@ -1,6 +1,11 @@
:host {
display: block;
--video-max-height: none;
transition: max-height 0.1s ease-in-out;
// Keep carousel controls relative to the media carousel itself.
position: relative;
}
// When the carousel is not part of a grid ensure its height matches its