fix(collage): add size constraints to prevent image overflow

This commit is contained in:
vicrodh committed 2026-02-04 19:17:03 -06:00
1 parent 61b4c38ea4
commit 1bb9fc8382
1 file changed
+6 -2
+6 -2
View File
@@ -74,8 +74,10 @@
<style>
.collage {
position: relative;
width: var(--size);
height: var(--size);
width: var(--size, 120px);
height: var(--size, 120px);
max-width: var(--size, 120px);
max-height: var(--size, 120px);
overflow: hidden;
border-radius: 6px;
background: var(--bg-tertiary);
@@ -94,6 +96,8 @@
.cover {
object-fit: cover;
max-width: 100%;
max-height: 100%;
}
/* Single cover - full size */