fix: small style fixes
This commit is contained in:
parent
1455976689
commit
f23e3681b7
2 changed files with 6 additions and 12 deletions
|
|
@ -22,7 +22,7 @@ export function SessionLspIndicator() {
|
||||||
return (
|
return (
|
||||||
<Show when={lspStats().total > 0}>
|
<Show when={lspStats().total > 0}>
|
||||||
<Tooltip placement="top" value={tooltipContent()}>
|
<Tooltip placement="top" value={tooltipContent()}>
|
||||||
<div class="flex items-center gap-1 px-2 cursor-default select-none">
|
<div class="pl-2.5 pr-4 flex gap-2 cursor-default select-none items-center justify-center">
|
||||||
<div
|
<div
|
||||||
classList={{
|
classList={{
|
||||||
"size-1.5 rounded-full": true,
|
"size-1.5 rounded-full": true,
|
||||||
|
|
|
||||||
|
|
@ -40,14 +40,7 @@ import { extractPromptFromParts } from "@/utils/prompt"
|
||||||
import { ConstrainDragYAxis, getDraggableId } from "@/utils/solid-dnd"
|
import { ConstrainDragYAxis, getDraggableId } from "@/utils/solid-dnd"
|
||||||
import { usePermission } from "@/context/permission"
|
import { usePermission } from "@/context/permission"
|
||||||
import { showToast } from "@opencode-ai/ui/toast"
|
import { showToast } from "@opencode-ai/ui/toast"
|
||||||
import {
|
import { SessionContextTab, SortableTab, FileVisual, SortableTerminalTab, NewSessionView } from "@/components/session"
|
||||||
SessionHeader,
|
|
||||||
SessionContextTab,
|
|
||||||
SortableTab,
|
|
||||||
FileVisual,
|
|
||||||
SortableTerminalTab,
|
|
||||||
NewSessionView,
|
|
||||||
} from "@/components/session"
|
|
||||||
import { usePlatform } from "@/context/platform"
|
import { usePlatform } from "@/context/platform"
|
||||||
import { same } from "@/utils/same"
|
import { same } from "@/utils/same"
|
||||||
|
|
||||||
|
|
@ -776,7 +769,6 @@ export default function Page() {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div class="relative bg-background-base size-full overflow-hidden flex flex-col">
|
<div class="relative bg-background-base size-full overflow-hidden flex flex-col">
|
||||||
<SessionHeader />
|
|
||||||
<div class="flex-1 min-h-0 flex flex-col md:flex-row">
|
<div class="flex-1 min-h-0 flex flex-col md:flex-row">
|
||||||
{/* Mobile tab bar - only shown on mobile when there are diffs */}
|
{/* Mobile tab bar - only shown on mobile when there are diffs */}
|
||||||
<Show when={!isDesktop() && diffs().length > 0}>
|
<Show when={!isDesktop() && diffs().length > 0}>
|
||||||
|
|
@ -857,7 +849,7 @@ export default function Page() {
|
||||||
autoScroll.handleScroll()
|
autoScroll.handleScroll()
|
||||||
if (isDesktop()) scheduleScrollSpy(e.currentTarget)
|
if (isDesktop()) scheduleScrollSpy(e.currentTarget)
|
||||||
}}
|
}}
|
||||||
onClick={autoScroll.handleInteraction}
|
onPointerDown={autoScroll.handleInteraction}
|
||||||
class="relative min-w-0 w-full h-full overflow-y-auto no-scrollbar"
|
class="relative min-w-0 w-full h-full overflow-y-auto no-scrollbar"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
|
@ -935,7 +927,9 @@ export default function Page() {
|
||||||
|
|
||||||
{/* Prompt input */}
|
{/* Prompt input */}
|
||||||
<div
|
<div
|
||||||
ref={(el) => (promptDock = el)}
|
ref={(el) => {
|
||||||
|
promptDock = el
|
||||||
|
}}
|
||||||
class="absolute inset-x-0 bottom-0 pt-12 pb-4 md:pb-8 flex flex-col justify-center items-center z-50 px-4 md:px-0 bg-gradient-to-t from-background-stronger via-background-stronger to-transparent pointer-events-none"
|
class="absolute inset-x-0 bottom-0 pt-12 pb-4 md:pb-8 flex flex-col justify-center items-center z-50 px-4 md:px-0 bg-gradient-to-t from-background-stronger via-background-stronger to-transparent pointer-events-none"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue