From 02bbe5b0c85cab29cc072a68d191eb4d1e85e7d7 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Thu, 31 Dec 2020 14:20:49 +0100 Subject: Allow to overflow --- quatuor.css | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'quatuor.css') diff --git a/quatuor.css b/quatuor.css index 168caf5..f3d942e 100644 --- a/quatuor.css +++ b/quatuor.css @@ -13,13 +13,7 @@ main #photos { position: sticky; top: 0; - - /* ⚠ Keep this bigger than vertical displacement of lowest photo, - otherwise Firefox glitches: it shows a scrollbar for
, - yet refuses to scroll #photos; #bio scrolls into infinite - emptiness… */ - padding-top: 2em; - padding-bottom: 2em; + max-height: 80vh; } #photos > * { @@ -66,3 +60,7 @@ main #photos { #photos > *:nth-of-type(4) { top: 0.4em; } + +#bio > *:first-child { + margin-top: 0; +} -- cgit v1.2.3