Skip to content

Commit

Permalink
feat: scrollable field list navigation sidebar in generate UI V2
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Kapal committed May 22, 2024
1 parent 39a7284 commit 10c338d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/generate-ui-v2/src/components/field-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ export class FieldList extends GeneratorContextContext(
<div
class="border-separator ${this.editor === 'intellij'
? 'hidden md:block'
: 'max-sm:hidden md:w-64'} fixed h-full w-52 overflow-y-auto border-r-2 p-6"
: 'max-sm:hidden md:w-64'} h-full w-72 overflow-y-auto border-r-2 p-6"
>
${this.renderOptionNav(optionsWithMetadata, shouldShowMoreOptions)}
</div>
<div
class="${this.editor === 'intellij'
? 'md:ml-52 md:p-6'
: 'sm:ml-52 sm:p-6 md:ml-64'} w-full pt-6"
? 'md:p-6'
: 'sm:p-6'} w-full overflow-y-auto pt-6"
>
${this.renderOptionsWithDivider(
optionsWithMetadata,
Expand Down

0 comments on commit 10c338d

Please sign in to comment.