fix: fit parameter should apply to entire container when aspect_ratio is not set (#2126)

* Closes #2125
This commit is contained in:
Dermot Duffy authored and GitHub committed 2025-07-15 21:10:03 -07:00
1 parent c3e7cef9cf
commit 69ae80d6f1
4 files changed
+77 -44

No files matched your search

+3 -3
View File
@@ -20,13 +20,13 @@
max-width: 100%;
}
:host([size='unsized']) > .container {
:host([size='max']) > .container {
width: 100%;
height: 100%;
}
:host([size='unsized-portrait']) > .container {
:host([size='max-height']) > .container {
height: 100%;
}
:host([size='unsized-landscape']) > .container {
:host([size='max-width']) > .container {
width: 100%;
}