Skip to content

Commit 736b221

Browse files
PatrickGteemingc
andauthored
fix: filetree toggle button size (#1599)
reduce file tree toggle button size Co-authored-by: Tee Ming <chewteeming01@gmail.com>
1 parent 158a806 commit 736b221

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

apps/svelte.dev/src/routes/tutorial/[...slug]/+page.svelte

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,9 @@
279279
<SplitPane
280280
id="editor"
281281
type={mobile ? 'vertical' : 'horizontal'}
282-
min="120px"
283-
max="300px"
284-
pos="200px"
282+
min={mobile ? '40px' : '120px'}
283+
max={mobile ? '40px' : '300px'}
284+
pos={mobile ? '40px' : '200px'}
285285
>
286286
{#snippet a()}
287287
<section class="navigator">
@@ -415,16 +415,9 @@
415415
background-color: var(--sk-bg-3);
416416
}
417417
418-
.mobile .navigator {
419-
display: flex;
420-
flex-direction: row;
421-
align-items: center;
422-
padding: 1rem;
423-
gap: 1rem;
424-
}
425-
426418
.mobile .navigator .file {
427419
flex: 1;
420+
padding: 1rem;
428421
text-align: left;
429422
white-space: nowrap;
430423
overflow: hidden;

0 commit comments

Comments
 (0)