From 2bfc59d0a7928a794af10c86d040c3d17314585e Mon Sep 17 00:00:00 2001 From: Petrik Date: Mon, 25 Sep 2023 16:08:48 +0200 Subject: [PATCH] Use fixed positioning for .banner Prevent the banner from moving relative to the .panel__tray when overscrolling. --- lib/rdoc/generator/template/rails/resources/css/main.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/rdoc/generator/template/rails/resources/css/main.css b/lib/rdoc/generator/template/rails/resources/css/main.css index d1e95bca..cd95cf7d 100644 --- a/lib/rdoc/generator/template/rails/resources/css/main.css +++ b/lib/rdoc/generator/template/rails/resources/css/main.css @@ -221,6 +221,8 @@ html { .banner { height: var(--banner-height); background-color: var(--brand-color); + position: fixed; + width: inherit; } .banner__segment {