diff --git a/web/static/app.css b/web/static/app.css index 2d25e6c..2f0afb6 100644 --- a/web/static/app.css +++ b/web/static/app.css @@ -87,6 +87,15 @@ code,kbd{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono .topbar-wrap{ border-bottom:1px solid var(--border); background:#f8fafc; + position: sticky; + top: 0; + z-index: 1000; /* stay above menus/content */ +} + +/* optional: add a shadow when scrolled */ +.topbar-wrap.is-scrolled{ + box-shadow: 0 4px 16px rgba(0,0,0,.08); + border-bottom-color: transparent; } .topbar{ max-width:1100px;margin:0 auto;padding:14px 16px;