mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-21 17:09:09 +01:00
Resize titlebar and tweak things
This commit is contained in:
@@ -24,7 +24,7 @@ export function RequestPane({ fullHeight, className }: Props) {
|
||||
const activeRequestId = activeRequest?.id ?? null;
|
||||
const updateRequest = useUpdateRequest(activeRequestId);
|
||||
const activeTab = useKeyValue<string>({
|
||||
key: ['active_request_body_tab', activeRequestId ?? 'n/a'],
|
||||
key: ['active_request_body_tab'],
|
||||
defaultValue: 'body',
|
||||
});
|
||||
|
||||
@@ -96,6 +96,7 @@ export function RequestPane({ fullHeight, className }: Props) {
|
||||
<Editor
|
||||
key={activeRequest.id}
|
||||
useTemplating
|
||||
placeholder="..."
|
||||
className="!bg-gray-50"
|
||||
heightMode={fullHeight ? 'full' : 'auto'}
|
||||
defaultValue={activeRequest.body ?? ''}
|
||||
@@ -107,6 +108,7 @@ export function RequestPane({ fullHeight, className }: Props) {
|
||||
<Editor
|
||||
key={activeRequest.id}
|
||||
useTemplating
|
||||
placeholder="..."
|
||||
className="!bg-gray-50"
|
||||
heightMode={fullHeight ? 'full' : 'auto'}
|
||||
defaultValue={activeRequest.body ?? ''}
|
||||
|
||||
Reference in New Issue
Block a user