Fix Photos CI formatting and restore the portfolio link
All checks were successful
Check & deploy / validate (pull_request) Successful in 25m6s
Check & deploy / deploy (pull_request) Has been skipped

This commit is contained in:
Andras Schmelczer 2026-11-10 20:23:32 +00:00
commit f2797730f7
2 changed files with 29 additions and 11 deletions

View file

@ -36,6 +36,7 @@
</head>
<body>
<header class="site-header">
<a class="portfolio-link" href="https://schmelczer.dev/">Portfolio</a>
<button
id="slideshow-toggle"
class="slideshow-toggle"

View file

@ -76,12 +76,21 @@ img {
white-space: nowrap;
}
.portfolio-link {
position: absolute;
inset-block-end: var(--space-s);
color: inherit;
font-size: 0.875rem;
}
.gallery {
min-width: 0;
min-height: 100dvh;
display: grid;
grid-template-columns: minmax(5rem, 10vmin) minmax(0, 1fr) minmax(7rem,
14vmin);
grid-template-columns: minmax(5rem, 10vmin) minmax(0, 1fr) minmax(
7rem,
14vmin
);
position: relative;
overflow: hidden;
}
@ -237,6 +246,13 @@ img {
padding: var(--space-s);
}
.portfolio-link {
position: static;
grid-column: 1;
grid-row: 2;
justify-self: start;
}
.slideshow-toggle {
position: static;
grid-column: 2;
@ -293,4 +309,4 @@ img {
grid-row: 2;
padding: var(--space-s);
}
}
}