-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ui): add a sticky navbar #282
base: main
Are you sure you want to change the base?
Conversation
codex-ui/dev/pages/layout/Navbar.vue
Outdated
<div class="navbar-wrapper"> | ||
<Navbar> | ||
Left | ||
<template #navbar__right> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<template #navbar__right> | |
<template #right> |
background-color: var(--base--bg-secondary); | ||
border-radius: var(--radius-m); | ||
border: 1px solid var(--base--border); | ||
overflow-x: clip; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, for demo
codex-ui/dev/pages/layout/Navbar.vue
Outdated
|
||
.navbar { | ||
z-index: 1; | ||
top: 52px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unhardcode header height
|
||
<style scoped lang="postcss"> | ||
.navbar { | ||
position: sticky; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use 2 space indentation, please
Partially resolves #281