Align schedule photos to right half of card

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Vincent Mahnke 2026-11-14 04:25:06 +01:00
commit b926169619
Signed by: ViMaSter
GPG key ID: 6D787326BA7D6469

View file

@ -135,6 +135,8 @@
}
.schedule--picker .schedule__card--photo {
--schedule-photo-fade: color-mix(in srgb, var(--color-text) 4%, var(--color-body-bg));
isolation: isolate;
overflow: hidden;
min-height: 7rem;
@ -154,7 +156,7 @@
.schedule__photo {
display: none;
position: absolute;
inset: 0;
inset: 0 0 0 50%;
z-index: -1;
margin: 0;
pointer-events: none;
@ -171,10 +173,10 @@
position: absolute;
inset: 0;
background: linear-gradient(90deg,
var(--color-body-bg) 0%,
color-mix(in srgb, var(--color-body-bg) 97%, transparent) 35%,
color-mix(in srgb, var(--color-body-bg) 90%, transparent) 65%,
color-mix(in srgb, var(--color-body-bg) 20%, transparent) 100%);
var(--schedule-photo-fade) 0%,
color-mix(in srgb, var(--schedule-photo-fade) 97%, transparent) 10%,
color-mix(in srgb, var(--schedule-photo-fade) 90%, transparent) 40%,
color-mix(in srgb, var(--schedule-photo-fade) 20%, transparent) 100%);
}
}