From d4be5e78c22fe7f8fc0ba635b34573cd49c383d2 Mon Sep 17 00:00:00 2001 From: John Mercouris Date: Wed, 31 Jul 2024 23:20:07 -0500 Subject: [PATCH] buffer.lisp: Fix rendering of buffer menu on long pages. Additionally, change the width of the menu to be the same as the content, make it a clearer visual indicator that it operates *on* the content. --- source/buffer.lisp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/buffer.lisp b/source/buffer.lisp index 8b83c19c380f..a12fe2474af0 100644 --- a/source/buffer.lisp +++ b/source/buffer.lisp @@ -274,8 +274,10 @@ See also the `profile' slot in the `browser' class.") :overflow-x "scroll" :white-space "nowrap" :background-color ,theme:background-alt - :margin-left "-20px" - :margin-top "-20px" + :position "sticky" + :margin-top "-20px" + :top 0 + :width "100%" :height "32px") `(".mode-menu > button" :color ,theme:on-secondary