-
Notifications
You must be signed in to change notification settings - Fork 0
fix(ui): opaque session banner + header stacking context #404
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1475,6 +1475,9 @@ textarea:focus { | |
| background: var(--surface); | ||
| border-bottom: 1px solid var(--border); | ||
| flex-shrink: 0; | ||
| position: relative; | ||
| z-index: 20; | ||
| box-shadow: 0 4px 0 0 var(--surface); | ||
| transition: | ||
| max-height 0.2s, | ||
| padding 0.2s, | ||
|
|
@@ -1666,7 +1669,7 @@ textarea:focus { | |
| flex: 1; | ||
| overflow-y: auto; | ||
| -webkit-overflow-scrolling: touch; | ||
| padding: var(--space-4) var(--space-3); | ||
| padding: 0 var(--space-3) var(--space-4); | ||
| display: flex; | ||
| flex-direction: column; | ||
| gap: var(--space-3); | ||
|
|
@@ -2427,8 +2430,10 @@ textarea:focus { | |
| position: sticky; | ||
| top: 0; | ||
| z-index: 10; | ||
| margin: -1px calc(-1 * var(--space-3)) 0; | ||
|
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔵 style: The negative horizontal margin |
||
| padding: 0 var(--space-3); | ||
| border-bottom: 1px solid var(--border); | ||
| background: var(--bg-primary); | ||
| background: var(--surface); | ||
| } | ||
|
|
||
| .session-banner-header { | ||
|
|
||
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.
🟡 regressions: Removing top padding from
.chat-messages(wasvar(--space-4), now0) means that when no session banner is rendered (SessionBanner returns null when bootContext and sessionContext are both absent), the first message sits flush against the header. Combined with the new 4px box-shadow on.chat-header(z-index 20), the top ~4px of the first message will be visually obscured. Consider adding a small top margin/padding to.chat-messageschildren or using a CSS:first-childrule to restore spacing when the banner is absent.[fixable]