Skip to content

Commit 10c338d

Browse files
author
Martin Kapal
committed
feat: scrollable field list navigation sidebar in generate UI V2
1 parent 39a7284 commit 10c338d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/generate-ui-v2/src/components/field-list.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ export class FieldList extends GeneratorContextContext(
4444
<div
4545
class="border-separator ${this.editor === 'intellij'
4646
? 'hidden md:block'
47-
: 'max-sm:hidden md:w-64'} fixed h-full w-52 overflow-y-auto border-r-2 p-6"
47+
: 'max-sm:hidden md:w-64'} h-full w-72 overflow-y-auto border-r-2 p-6"
4848
>
4949
${this.renderOptionNav(optionsWithMetadata, shouldShowMoreOptions)}
5050
</div>
5151
<div
5252
class="${this.editor === 'intellij'
53-
? 'md:ml-52 md:p-6'
54-
: 'sm:ml-52 sm:p-6 md:ml-64'} w-full pt-6"
53+
? 'md:p-6'
54+
: 'sm:p-6'} w-full overflow-y-auto pt-6"
5555
>
5656
${this.renderOptionsWithDivider(
5757
optionsWithMetadata,

0 commit comments

Comments
 (0)