refactor(calendar): replace fixed width with max-width for better banner scaling

This commit is contained in:
Victor Sales 2025-10-13 13:06:52 +03:00
parent fb9497a856
commit 2e1ad64d02

View file

@ -51,7 +51,7 @@
position: relative; position: relative;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
gap: 0.1em; gap: 0.2rem;
padding: 0.1rem; padding: 0.1rem;
flex: 1 1 60%; flex: 1 1 60%;
overflow-x: auto; overflow-x: auto;
@ -67,7 +67,7 @@
aspect-ratio: 2 / 3; aspect-ratio: 2 / 3;
border-radius: calc(var(--border-radius) /2); border-radius: calc(var(--border-radius) /2);
max-height: 100%; max-height: 100%;
width: 100%; max-width: 100%;
.icon { .icon {
flex: none; flex: none;