Skip to content

Commit 5511b80

Browse files
committed
fix: set min-height for header and fix issue with resize handle
1 parent 5e00a55 commit 5511b80

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

template/src/components/internal/Header.astro

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import Logo from '../../../public/logo.svg?raw';
44
---
55

66
<nav
7-
class="bg-tk-elements-topBar-backgroundColor border-b border-tk-elements-app-borderColor flex max-w-full items-center p-3 px-4"
8-
aria-label=""
7+
class="bg-tk-elements-topBar-backgroundColor border-b border-tk-elements-app-borderColor flex max-w-full items-center p-3 px-4 min-h-[56px]"
98
>
109
<div class="flex flex-1">
1110
<a

template/src/components/internal/WorkspacePanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ export function WorkspacePanel({ lesson }: Props) {
213213
<Panel defaultSize={25} minSize={10}>
214214
<PreviewPanel ref={previewRef} toggleTerminal={toggleTerminal} />
215215
</Panel>
216-
<PanelResizeHandle className={resizePanelStyles.PanelResizeHandle} hitAreaMargins={{ fine: 8, coarse: 8 }} />
216+
<PanelResizeHandle className={resizePanelStyles.PanelResizeHandle} hitAreaMargins={{ fine: 5, coarse: 5 }} />
217217
<Panel
218218
defaultSize={25}
219219
minSize={10}

0 commit comments

Comments
 (0)