mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 03:22:11 +00:00
refactor(calendar): replace fixed width with max-width for better banner scaling
This commit is contained in:
parent
fb9497a856
commit
2e1ad64d02
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue