fix(app): adjust prompt input positioning - 12px from bottom/right, remove session panel bottom padding
This commit is contained in:
@@ -1954,7 +1954,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
|
||||
</Match>
|
||||
</Switch>
|
||||
</div>
|
||||
<div class="flex items-center gap-3 absolute right-2 bottom-2">
|
||||
<div class="flex items-center gap-3 absolute right-3 bottom-3">
|
||||
<input
|
||||
ref={fileInputRef}
|
||||
type="file"
|
||||
|
||||
@@ -1444,7 +1444,7 @@ export default function Page() {
|
||||
<div
|
||||
classList={{
|
||||
"@container relative shrink-0 flex flex-col min-h-0 h-full bg-background-stronger": true,
|
||||
"flex-1 md:flex-none py-6 md:py-3": true,
|
||||
"flex-1 md:flex-none pt-6 md:pt-3": true,
|
||||
}}
|
||||
style={{
|
||||
width: isDesktop() && showTabs() ? `${layout.session.width()}px` : "100%",
|
||||
@@ -1663,11 +1663,11 @@ export default function Page() {
|
||||
{/* Prompt input */}
|
||||
<div
|
||||
ref={(el) => (promptDock = el)}
|
||||
class="absolute inset-x-0 bottom-0 pt-12 pb-4 md:pb-6 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-3 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
|
||||
classList={{
|
||||
"w-full md:px-6 pointer-events-auto": true,
|
||||
"w-full px-3 pointer-events-auto": true,
|
||||
"md:max-w-200": !showTabs(),
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user