Skip to content

Commit

Permalink
buffer.lisp: Fix rendering of buffer menu on long pages.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jmercouris committed Aug 1, 2024
1 parent 97c0b41 commit d4be5e7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/buffer.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4be5e7

Please sign in to comment.