mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
fix(ui): add space above session rail (#120838)
This commit is contained in:
committed by
GitHub
parent
d64531cd38
commit
bc4055e172
@@ -823,7 +823,7 @@ describeBrowserLayout.concurrent("chat responsive browser layout", () => {
|
||||
}
|
||||
});
|
||||
|
||||
it("pins the collapsed session rail to the pane header edge", async () => {
|
||||
it("insets the collapsed session rail from the pane header edge", async () => {
|
||||
const page = await openBrowserPage(922, 282);
|
||||
try {
|
||||
const splitViewCss = readStyleSheet("ui/src/styles/chat/split-view.css");
|
||||
@@ -846,7 +846,7 @@ describeBrowserLayout.concurrent("chat responsive browser layout", () => {
|
||||
const header = await getBoundingBox(page, ".chat-pane__header");
|
||||
const observer = await getBoundingBox(page, ".chat-session-rail");
|
||||
|
||||
expect(observer.y).toBeCloseTo(header.y + header.height, 0);
|
||||
expect(observer.y).toBeCloseTo(header.y + header.height + 12, 0);
|
||||
} finally {
|
||||
await closeBrowserPage(page);
|
||||
}
|
||||
|
||||
@@ -1713,7 +1713,7 @@ openclaw-chat-session-rail {
|
||||
|
||||
.chat-session-rail {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
top: 12px;
|
||||
right: 12px;
|
||||
z-index: 30;
|
||||
border: 1px solid var(--border);
|
||||
|
||||
Reference in New Issue
Block a user