From 906e5886e11e82712a2031f78ea8b96a6fce5ac0 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 13 Sep 2021 15:39:56 +0200 Subject: [PATCH] fix tiny jump when timeline starts filling viewport --- src/platform/web/ui/css/timeline.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/platform/web/ui/css/timeline.css b/src/platform/web/ui/css/timeline.css index 29e24bde..3a2377b8 100644 --- a/src/platform/web/ui/css/timeline.css +++ b/src/platform/web/ui/css/timeline.css @@ -27,7 +27,10 @@ limitations under the License. .RoomView_body > .Timeline > ul { list-style: none; - padding: 0; + /* use small horizontal padding so first/last children margin isn't collapsed + at the edge and a scrollbar shows up when setting margin-top to bottom-align + content when there are not yet enough tiles to fill the viewport */ + padding: 1px 0; margin: 0; }