fix(ui): split left drawer header into two rows
This commit is contained in:
@@ -839,17 +839,11 @@ const InstanceShell2: Component<InstanceShellProps> = (props) => {
|
|||||||
|
|
||||||
const LeftDrawerContent = () => (
|
const LeftDrawerContent = () => (
|
||||||
<div class="flex flex-col h-full min-h-0" ref={setLeftDrawerContentEl}>
|
<div class="flex flex-col h-full min-h-0" ref={setLeftDrawerContentEl}>
|
||||||
<div class="flex items-start justify-between gap-2 px-4 py-3 border-b border-base">
|
<div class="flex flex-col gap-2 px-4 py-3 border-b border-base">
|
||||||
<div class="flex flex-col gap-1">
|
<div class="flex items-center justify-between gap-2">
|
||||||
<span class="session-sidebar-title text-sm font-semibold uppercase text-primary">
|
<span class="session-sidebar-title text-sm font-semibold uppercase text-primary">
|
||||||
{t("instanceShell.leftPanel.sessionsTitle")}
|
{t("instanceShell.leftPanel.sessionsTitle")}
|
||||||
</span>
|
</span>
|
||||||
<div class="session-sidebar-shortcuts">
|
|
||||||
<Show when={keyboardShortcuts().length}>
|
|
||||||
<KeyboardHint shortcuts={keyboardShortcuts()} separator=" " showDescription={false} />
|
|
||||||
</Show>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="flex items-center gap-2 text-primary">
|
<div class="flex items-center gap-2 text-primary">
|
||||||
<IconButton
|
<IconButton
|
||||||
size="small"
|
size="small"
|
||||||
@@ -882,7 +876,12 @@ const InstanceShell2: Component<InstanceShellProps> = (props) => {
|
|||||||
</IconButton>
|
</IconButton>
|
||||||
</Show>
|
</Show>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="session-sidebar-shortcuts">
|
||||||
|
<Show when={keyboardShortcuts().length}>
|
||||||
|
<KeyboardHint shortcuts={keyboardShortcuts()} separator=" " showDescription={false} />
|
||||||
|
</Show>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="session-sidebar flex flex-col flex-1 min-h-0">
|
<div class="session-sidebar flex flex-col flex-1 min-h-0">
|
||||||
|
|||||||
Reference in New Issue
Block a user