mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 13:54:01 +00:00
tui: fix session tab alignment in compact view to prevent vertical overflow
This commit is contained in:
parent
9736fce8fc
commit
c95febb1d5
@ -37,8 +37,8 @@ export function SortableTab(props: { tab: string; onTabClose: (tab: string) => v
|
||||
return <FileVisual path={value} />
|
||||
})
|
||||
return (
|
||||
<div use:sortable classList={{ "h-full": true, "opacity-0": sortable.isActiveDraggable }}>
|
||||
<div class="relative h-full">
|
||||
<div use:sortable class="h-full flex items-center" classList={{ "opacity-0": sortable.isActiveDraggable }}>
|
||||
<div class="relative">
|
||||
<Tabs.Trigger
|
||||
value={props.tab}
|
||||
closeButton={
|
||||
|
||||
@ -171,7 +171,7 @@
|
||||
|
||||
[data-slot="tabs-trigger-wrapper"] {
|
||||
height: var(--tabs-compact-pill-height);
|
||||
margin-block: calc((var(--tabs-bar-height) - var(--tabs-compact-pill-height)) / 2);
|
||||
margin-block: 0;
|
||||
max-width: 320px;
|
||||
padding-inline: var(--tabs-compact-pill-padding-x);
|
||||
box-sizing: border-box;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user