diff --git a/themes/hackertours/assets/css/_schedule.css b/themes/hackertours/assets/css/_schedule.css
index 60d4992..109895e 100644
--- a/themes/hackertours/assets/css/_schedule.css
+++ b/themes/hackertours/assets/css/_schedule.css
@@ -109,6 +109,7 @@
grid-template-columns: 1fr auto;
gap: 0.15rem 0.5rem;
margin: 0;
+ max-width: none;
padding: 0.5rem 0.75rem 0.6rem;
border: 1px solid var(--schedule-line);
border-inline-start: 3px solid var(--schedule-accent);
@@ -135,6 +136,8 @@
.schedule--picker .schedule__card--photo {
grid-template-columns: minmax(0, 1fr) auto minmax(0, 6rem);
+ grid-template-rows: min-content min-content 1fr;
+ align-items: start;
.schedule__title {
grid-column: 1 / 3;
@@ -144,11 +147,8 @@
.schedule__photo {
display: none;
grid-column: 3;
- grid-row: 1 / 3;
+ grid-row: 1 / 4;
margin: 0;
- font-size: var(--fs-xs);
- color: var(--color-text-meta);
- overflow-wrap: anywhere;
img {
display: block;
@@ -157,7 +157,16 @@
}
}
-.schedule--picker .schedule__photo {
+.schedule__photo-credit {
+ display: none;
+ grid-column: 1 / 3;
+ grid-row: 3;
+ font-size: var(--fs-xs);
+ color: var(--color-text-meta);
+}
+
+.schedule--picker .schedule__photo,
+.schedule--picker .schedule__photo-credit {
display: block;
}
diff --git a/themes/hackertours/layouts/_shortcodes/schedule.html b/themes/hackertours/layouts/_shortcodes/schedule.html
index 09200c1..635069e 100644
--- a/themes/hackertours/layouts/_shortcodes/schedule.html
+++ b/themes/hackertours/layouts/_shortcodes/schedule.html
@@ -116,8 +116,8 @@ so an hour without tours still gets a row.
{{- with $photo }}
-{{- with $photoCredit }}{{ . }}{{ end }}
+{{- with $photoCredit }}{{ . }}{{ end }}
{{- end }}
{{- end }}