From c72d45740e9894a2baf2e4ae5d3e9fda4a50d81c Mon Sep 17 00:00:00 2001 From: Felix Klement Date: Sun, 4 Oct 2026 11:49:07 +0200 Subject: [PATCH] fixes --- package-lock.json | 12 ++++++------ package.json | 8 ++++---- src/pages/_Team.astro | 26 +++++++++++--------------- 3 files changed, 21 insertions(+), 25 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4e064f2..3e41694 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2725,9 +2725,9 @@ } }, "node_modules/devalue": { - "version": "5.9.2", - "resolved": "https://registry.npmjs.org/devalue/-/devalue-5.9.2.tgz", - "integrity": "sha512-po4PAY5c53tw5XMocSnf8A/5OHhbbUftpr93aEN6BBoAdntUmK7vu7wOATqvt7cXO7m1Cl4gMVn6p7n6n4mj0w==", + "version": "5.9.4", + "resolved": "https://registry.npmjs.org/devalue/-/devalue-5.9.4.tgz", + "integrity": "sha512-sPAT4pztbu6586/hrhOnMKS17IJrvg12mXiSPSS3W5qDeN2RGgvZ0diZCm31dBbnevfVmujNO3IM2wrS4Y2Rhg==", "license": "MIT" }, "node_modules/devlop": { @@ -3153,9 +3153,9 @@ } }, "node_modules/http-cache-semantics": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.2.0.tgz", - "integrity": "sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.3.0.tgz", + "integrity": "sha512-M5t5LlJpS1UHMjvwRQVdFHvPISGeLAxNcrWuJkeGh0KxsqCHZ1O3NXZU/8x7cD0BDcGW8kapxMKTvwlqrNkHkA==", "license": "BSD-2-Clause" }, "node_modules/iron-webcrypto": { diff --git a/package.json b/package.json index 3c82e0e..b7e96de 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,10 @@ "private": true, "types": ".design-sync/ds-types/index.d.ts", "scripts": { - "dev": "astro dev", - "build": "astro build", - "preview": "astro preview", - "check": "astro check" + "dev": "ASTRO_TELEMETRY_DISABLED=1 astro dev", + "build": "ASTRO_TELEMETRY_DISABLED=1 astro build", + "preview": "ASTRO_TELEMETRY_DISABLED=1 astro preview", + "check": "ASTRO_TELEMETRY_DISABLED=1 astro check" }, "dependencies": { "@fontsource-variable/inter-tight": "^5.3.0", diff --git a/src/pages/_Team.astro b/src/pages/_Team.astro index 609795c..21cc6ef 100644 --- a/src/pages/_Team.astro +++ b/src/pages/_Team.astro @@ -20,20 +20,21 @@ const ui = t(lang); -
+
+
- +
@@ -72,16 +73,11 @@ const ui = t(lang); .team-intro__lead { grid-column: 9 / span 4; align-self: end; } } - .team-photo { - position: relative; - /* Explicit height: an aspect-ratio with max-height would transfer the cap to the width. */ - height: min(66.67vw, 80svh); - min-height: 20rem; - overflow: hidden; - } - :global(.team-photo__picture) { position: absolute; inset: 0; } - .team-photo__img, :global(.team-photo__img) { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; } - .team-photo__overlay { position: absolute; inset: 0; background: var(--overlay); opacity: 0.6; } + /* Inside the content column at the photo's own proportions: no crop, no zoom, so every pixel + the browser shows exists in the source. Widths go to 2592 for retina screens. */ + .team-photo { margin: 0; } + :global(.team-photo__picture) { display: block; } + .team-photo__img, :global(.team-photo__img) { display: block; width: 100%; height: auto; } .people { display: grid;